summaryrefslogtreecommitdiff
path: root/modules/commands/cs_entrymsg.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-26 15:17:05 -0400
committerAdam <Adam@anope.org>2011-10-26 15:17:05 -0400
commitc79a57545259695f961cf79326a6eb8f78255cbc (patch)
tree3c6a887bf98a0d2ff4a1d0a6a15b78e2d8bd9a19 /modules/commands/cs_entrymsg.cpp
parent8334128680c26cec69bd1098c11d36fd716b99c1 (diff)
Bug #1348 - Fixed /cs entrymsg list
Diffstat (limited to 'modules/commands/cs_entrymsg.cpp')
-rw-r--r--modules/commands/cs_entrymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp
index 6fa8d5dd3..7e927a343 100644
--- a/modules/commands/cs_entrymsg.cpp
+++ b/modules/commands/cs_entrymsg.cpp
@@ -72,7 +72,7 @@ class CommandEntryMessage : public Command
void DoList(CommandSource &source, ChannelInfo *ci)
{
EntryMessageList *messages = ci->GetExt<EntryMessageList *>("cs_entrymsg");
- if (messages == NULL)
+ if (messages != NULL)
{
source.Reply(_("Entry message list for \2%s\2:"), ci->name.c_str());
for (unsigned i = 0; i < messages->size(); ++i)