summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}
}