summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 13:01:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 13:01:01 +0000
commit7c60677305f98d9b097329bc15118af7ebe5c431 (patch)
treea1bead36a27ce855ca951aead9af26173f2fe4cd
parent6825da4bbfde5c78f4340139737cb2c7f2e91781 (diff)
Fix to 'M' handler
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@491 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ba520be42..263b3876a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -5367,7 +5367,7 @@ void handle_T(char token,char* params,serverrec* source,serverrec* reply, char*
log(DEBUG,"channel TS higher, replacing");
WriteChannelLocal(c,NULL,"TOPIC %s :%s",c->name,topic);
strncpy(c->topic,topic,MAXTOPIC);
- strncpy(c->setby,setnick,NICKMAX);
+ strncpy(c->setby,setby,NICKMAX);
}
}
}