diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:26:24 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:26:24 +0000 |
commit | 9c59d8d8b491a08bbcf4564b9437da07c40c2dfa (patch) | |
tree | a33a447b343c668eb08bef2961dc87e8c0e036f0 /src/users.c | |
parent | 0b4b8d4d5486dc4adef41bfe6e127ae31953d993 (diff) |
Make src/sessions.c and src/users.c compile.
Core now compiles successfully, modules do not.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1379 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c index cccf8df54..64e361f98 100644 --- a/src/users.c +++ b/src/users.c @@ -297,11 +297,11 @@ void User::SendMessage(const char *source, const std::string &msg) if (UsePrivmsg && ((!this->na && NSDefFlags & NI_MSG) || (this->na && this->na->nc->flags & NI_MSG))) { - ircdproto->SendPrivmsg(source, this->nick, msg.c_str()); + ircdproto->SendPrivmsg(findbot(source), this->nick, msg.c_str()); } else { - ircdproto->SendNotice(source, this->nick, msg.c_str()); + ircdproto->SendNotice(findbot(source), this->nick, msg.c_str()); } } |