diff options
author | Ron Nazarov <ron@noisytoot.org> | 2023-08-13 19:57:16 +0100 |
---|---|---|
committer | Ron Nazarov <ron@noisytoot.org> | 2023-08-13 19:57:16 +0100 |
commit | ffa8f65a04f17ec47f136775d078f15c4dcd3eb7 (patch) | |
tree | ec50c4b853b644964358f088c0c1c29ef94a3bb7 | |
parent | De-hardcode SID (1HC) (diff) | |
download | coupserv-master.tar.gz coupserv-master.zip |
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | server_network.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -260,7 +260,7 @@ int main(void) { if (!timeout) break; - SEND(STRING()); + SEND(STRING("")); } if (new_len == 0) { diff --git a/server_network.c b/server_network.c index a49e775..9da1b1c 100644 --- a/server_network.c +++ b/server_network.c @@ -756,7 +756,7 @@ int privmsg_handler(struct string sender, uint64_t argc, struct string *argv) { struct string message[] = { user ? STRING("User ") : (server ? STRING("Server ") : STRING("An unknown user (something desycned... this shouldn't happen)")), - user ? user->nick : (server ? server->address : STRING()), + user ? user->nick : (server ? server->address : STRING("")), STRING(" executes `"), argv[1], STRING("'\n"), |