summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/command.c b/command.c
index 1193615..3392fa9 100644
--- a/command.c
+++ b/command.c
@@ -149,6 +149,7 @@ static void commandMsg(uint id, char *params) {
 }
 
 static void commandJoin(uint id, char *params) {
+	if (!params && id == Network) params = self.invited;
 	if (!params) params = idNames[id];
 	uint count = 1;
 	for (char *ch = params; *ch && *ch != ' '; ++ch) {