From 2dec8e767a70def4b9b04a96ae4f75e4d1013038 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 18 Jun 2012 05:04:30 -0400 Subject: Allow userless command sources --- modules/commands/os_ignore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_ignore.cpp') diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp index 68f4c5517..2377c28be 100644 --- a/modules/commands/os_ignore.cpp +++ b/modules/commands/os_ignore.cpp @@ -170,7 +170,7 @@ class CommandOSIgnore : public Command return; } - ignore_service->AddIgnore(nick, source.u->nick, reason, t); + ignore_service->AddIgnore(nick, source.GetNick(), reason, t); if (!t) source.Reply(_("\002%s\002 will now permanently be ignored."), nick.c_str()); else -- cgit