diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 12:15:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 12:15:34 +0000 |
commit | 567135a702979c714a89b7fc986f929ea810ad07 (patch) | |
tree | 0e27262f76c8042c9a3e8952da3496d3c9a8ad14 /src/commands.cpp | |
parent | f7eb967d964cc089e5c7dc14079b03904e2f5a05 (diff) |
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.cpp | 2 |
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); |