summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 50d16d7b3..ee782903b 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -414,7 +414,7 @@ void IRCDProto::SendNumeric(int numeric, User *dest, Args&&... args)
if (numeric < 100)
numstr.insert(numstr.begin(), '0');
- IRCMessage message(Me, numstr, dest->nick);
+ IRCMessage message(Me, numstr, dest->GetUID());
message.Push(std::forward<Args>(args)...);
SendNumeric(numeric, dest, message);
}