diff options
| author | 2008-04-12 15:56:57 +0000 | |
|---|---|---|
| committer | 2008-04-12 15:56:57 +0000 | |
| commit | 8ac4f9732ba80c285eee72ecc49ba4952b76b80e (patch) | |
| tree | 8b498a09ab5301608849c25af1c598ef52defe3a /src/users.cpp | |
| parent | I SEE WHAT I DID THAR (diff) | |
Fix for crash when matching user with a kline on connect (userrec* sent to %s rather than userrec::nick!)
Fix for bug #505 in stable, reported by nenolod
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9470 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 017757a76..66345196e 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1074,7 +1074,7 @@ void userrec::FullConnect() { char reason[MAXBUF]; if (*ServerInstance->Config->MoronBanner) - this->WriteServ("NOTICE %s :*** %s", this, ServerInstance->Config->MoronBanner); + this->WriteServ("NOTICE %s :*** %s", this->nick, ServerInstance->Config->MoronBanner); snprintf(reason,MAXBUF,"K-Lined: %s",n->reason); userrec::QuitUser(ServerInstance, this, reason); return; |
