diff options
Diffstat (limited to 'src/core/cs_topic.c')
-rw-r--r-- | src/core/cs_topic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c index 622fa8b52..0f4be3a0e 100644 --- a/src/core/cs_topic.c +++ b/src/core/cs_topic.c @@ -26,8 +26,8 @@ class CommandCSTopic : public Command CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { - char *chan = params[0].c_str(); - char *topic = params.size() > 1 ? params[1].c_str() : NULL; + const char *chan = params[0].c_str(); + const char *topic = params.size() > 1 ? params[1].c_str() : NULL; Channel *c; ChannelInfo *ci; |