fixup! chore: rename functions
This commit is contained in:
parent
2e1416eb21
commit
1addcc7ae3
2 changed files with 2 additions and 2 deletions
|
|
@ -203,7 +203,7 @@ pub const Bot = struct {
|
|||
};
|
||||
|
||||
fn newTestMessage(allocator: std.mem.Allocator, content: []const u8) !*Message {
|
||||
return try Message.init_owned(
|
||||
return try Message.initOwned(
|
||||
allocator,
|
||||
12345,
|
||||
"jassob",
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ pub const BotAdapter = struct {
|
|||
const nick = nickFromPrefix(msg.prefix);
|
||||
|
||||
// create message
|
||||
const bot_message = BotMessage.init_owned(
|
||||
const bot_message = BotMessage.initOwned(
|
||||
self.allocator,
|
||||
std.time.timestamp(),
|
||||
nick,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue