summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
-rw-r--r--server_network.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 7ac886f..6141da6 100644
--- a/main.c
+++ b/main.c
@@ -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"),