summaryrefslogtreecommitdiff
path: root/modules/commands/os_ignore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_ignore.cpp')
-rw-r--r--modules/commands/os_ignore.cpp2
1 files changed, 1 insertions, 1 deletions
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