summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 12:15:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 12:15:34 +0000
commit567135a702979c714a89b7fc986f929ea810ad07 (patch)
tree0e27262f76c8042c9a3e8952da3496d3c9a8ad14 /src/commands.cpp
parentf7eb967d964cc089e5c7dc14079b03904e2f5a05 (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.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);