fixup! chore: rename functions

This commit is contained in:
Jacob Jonsson 2026-03-15 15:19:57 +01:00
parent 2e1416eb21
commit 1addcc7ae3
Signed by: Jassob
GPG key ID: 7E30B9B047F7202E
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ pub const Bot = struct {
}; };
fn newTestMessage(allocator: std.mem.Allocator, content: []const u8) !*Message { fn newTestMessage(allocator: std.mem.Allocator, content: []const u8) !*Message {
return try Message.init_owned( return try Message.initOwned(
allocator, allocator,
12345, 12345,
"jassob", "jassob",

View file

@ -96,7 +96,7 @@ pub const BotAdapter = struct {
const nick = nickFromPrefix(msg.prefix); const nick = nickFromPrefix(msg.prefix);
// create message // create message
const bot_message = BotMessage.init_owned( const bot_message = BotMessage.initOwned(
self.allocator, self.allocator,
std.time.timestamp(), std.time.timestamp(),
nick, nick,