From 8441fc9e2e84838bdb5c3cb7a14c6a41a35467bc Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 3 Apr 2004 20:50:33 +0000 Subject: 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 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3