]> jfr.im git - irc/rizon/znc.git/commit
Make CClient::GetNickMask() always return a valid nickmask
authorpsychon <redacted>
Mon, 14 Jul 2008 10:44:37 +0000 (10:44 +0000)
committerpsychon <redacted>
Mon, 14 Jul 2008 10:44:37 +0000 (10:44 +0000)
commit3c1e610cf5318e062b12d94e641e8414e0a31e8d
treeda66afd93b57d44c18988fc3b0d35644fc94fb5a
parent3e2b71263f19eb0eb0390823e27b753283418a62
Make CClient::GetNickMask() always return a valid nickmask

The recent removal of CUser::m_bIRCConnected lead to a bug here which is now
fixed.
In addition to this, this function now also works properly for users without
a vhost.

Oh and in User.cpp: Make sure CUser::GetIRCServer() returns an empty string
when we are no longer connected to an IRCd.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1134 726aef4b-f618-498e-8847-2d620e286838
Client.cpp
IRCSock.h
User.cpp