diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-03 20:50:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-03 20:50:33 +0000 |
commit | 8441fc9e2e84838bdb5c3cb7a14c6a41a35467bc (patch) | |
tree | e52fb1cd2bc6ce1de7bd155449a25c40fb196b17 /src | |
parent | 39c9d1a452f938ae69a3ceda1bb1a874dcea78aa (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
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
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); |