summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-12-07 15:23:29 -0500
committerAdam <Adam@anope.org>2016-12-07 15:23:29 -0500
commit0d112886980787ffd5c69e514eebe476bcec8343 (patch)
tree23dead512c6ecb9b18dc30760f480d23e8d7f061 /include
parent30e78efa8f835ab37c29700c4b4593285281ba84 (diff)
Fix numerics to be sent to uids
Diffstat (limited to 'include')
-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);
}