aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd_topic.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-09 20:41:36 +0000
committerGravatar brain2006-07-09 20:41:36 +0000
commit6a831a13ce816907bbf4b3a0a76c449a59972983 (patch)
tree6c9820913148a41ecd3c35fe3e8b7b5a06bc0e24 /src/cmd_topic.cpp
parentWhack a space indent (diff)
FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g"
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_topic.cpp')
-rw-r--r--src/cmd_topic.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp
index b8c60240d..b24c55a2d 100644
--- a/src/cmd_topic.cpp
+++ b/src/cmd_topic.cpp
@@ -3,13 +3,13 @@
* +------------------------------------+
*
* InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- * E-mail:
- * <brain@chatspike.net>
- * <Craig@chatspike.net>
+ * E-mail:
+ * <brain@chatspike.net>
+ * <Craig@chatspike.net>
*
* Written by Craig Edwards, Craig McLure, and others.
* This program is free but copyrighted software; see
- * the file COPYING for details.
+ * the file COPYING for details.
*
* ---------------------------------------------------
*/
@@ -112,13 +112,13 @@ void cmd_topic::Handle (char **parameters, int pcnt, userrec *user)
char topic[MAXTOPIC];
strlcpy(topic,parameters[1],MAXTOPIC-1);
- if (IS_LOCAL(user))
- {
- int MOD_RESULT = 0;
- FOREACH_RESULT(I_OnLocalTopicChange,OnLocalTopicChange(user,Ptr,topic));
- if (MOD_RESULT)
- return;
- }
+ if (IS_LOCAL(user))
+ {
+ int MOD_RESULT = 0;
+ FOREACH_RESULT(I_OnLocalTopicChange,OnLocalTopicChange(user,Ptr,topic));
+ if (MOD_RESULT)
+ return;
+ }
strlcpy(Ptr->topic,topic,MAXTOPIC-1);
strlcpy(Ptr->setby,user->nick,NICKMAX-1);