summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 20:50:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 20:50:33 +0000
commit8441fc9e2e84838bdb5c3cb7a14c6a41a35467bc (patch)
treee52fb1cd2bc6ce1de7bd155449a25c40fb196b17
parent39c9d1a452f938ae69a3ceda1bb1a874dcea78aa (diff)
Fixed wrong number of parameters for TOPIC that could cause a segfault
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@367 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b0badf8cc..47504f0cc 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -4541,7 +4541,7 @@ void SetupCommandTable(void)
createcommand("PART",handle_part,0,1);
createcommand("KICK",handle_kick,0,2);
createcommand("MODE",handle_mode,0,1);
- createcommand("TOPIC",handle_topic,0,1);
+ createcommand("TOPIC",handle_topic,0,2);
createcommand("WHO",handle_who,0,1);
createcommand("MOTD",handle_motd,0,0);
createcommand("RULES",handle_join,0,0);