summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-12-27 22:15:33 +0100
committerAlexander Barton <alex@barton.de>2012-12-27 22:15:33 +0100
commitfdc62daa8bcdf80ca176b4520b2a0f67a04b9737 (patch)
tree1d9415f08985e6b4c5d4b1d54cb54d0a2eddeb96
parentc88a3fffd5f99c4927f1d14e119650e14d5c921b (diff)
ngircd protocol module: Fix NJOIN, actually join users to the channel
Bug introduced by commit d33a0f75: "Pretty large coding style cleanup, in source doc cleanup, and allow protocol mods to depend on each other": Since then, the NJOIN command has been "ignored", no users were added to channels at all while linking ...
-rw-r--r--modules/protocol/ngircd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index b5bf87b12..714dcb095 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -489,6 +489,7 @@ struct IRCDMessageNJoin : IRCDMessage
Log(LOG_DEBUG) << "NJOIN for nonexistant user " << buf << " on " << params[0];
continue;
}
+ users.push_back(sju);
}
Message::Join::SJoin(source, params[0], 0, "", users);