diff options
| author | 2008-04-02 18:11:44 +0000 | |
|---|---|---|
| committer | 2008-04-02 18:11:44 +0000 | |
| commit | d356b84dc9191d2247dec32d800bb5f0de2b1b7d (patch) | |
| tree | 653ea9904045c50d42223b5bd178ed4833ba4a9f /src/commands/cmd_topic.cpp | |
| parent | make sure we include the right headers and fix a warning in cmode_b (diff) | |
Fix another warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9270 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_topic.cpp')
| -rw-r--r-- | src/commands/cmd_topic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_topic.cpp b/src/commands/cmd_topic.cpp index 2f1e2ea8c..35d83c140 100644 --- a/src/commands/cmd_topic.cpp +++ b/src/commands/cmd_topic.cpp @@ -37,7 +37,7 @@ CmdResult CommandTopic::Handle (const char* const* parameters, int pcnt, User *u if (Ptr->topicset) { user->WriteNumeric(332, "%s %s :%s", user->nick, Ptr->name, Ptr->topic); - user->WriteNumeric(333, "%s %s %s %ld", user->nick, Ptr->name, Ptr->setby, Ptr->topicset); + user->WriteNumeric(333, "%s %s %s %lu", user->nick, Ptr->name, Ptr->setby, (unsigned long)Ptr->topicset); } else { |
