aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-11-30 12:15:34 +0000
committerGravatar brain2005-11-30 12:15:34 +0000
commit567135a702979c714a89b7fc986f929ea810ad07 (patch)
tree0e27262f76c8042c9a3e8952da3496d3c9a8ad14 /src/commands.cpp
parentStylistic stuff: The evil infidelic spaces must DIE. (diff)
downloadinspircd++-567135a702979c714a89b7fc986f929ea810ad07.tar.gz
inspircd++-567135a702979c714a89b7fc986f929ea810ad07.tar.bz2
inspircd++-567135a702979c714a89b7fc986f929ea810ad07.zip
Added ForceTopic stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2046 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 205528be8..518ecd71e 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -525,7 +525,7 @@ void handle_topic(char **parameters, int pcnt, userrec *user)
return;
}
- strlcpy(Ptr->topic,topic,MAXBUF);
+ strlcpy(Ptr->topic,topic,MAXTOPIC);
strlcpy(Ptr->setby,user->nick,NICKMAX);
Ptr->topicset = TIME;
WriteChannel(Ptr,user,"TOPIC %s :%s",Ptr->name, Ptr->topic);