diff options
author | Treeki <treeki@gmail.com> | 2014-01-21 01:28:58 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2014-01-21 01:28:58 +0100 |
commit | f458a0b65de5db40ecb57d5831117305fc4dd876 (patch) | |
tree | 662bfb6a7271cc8fdc7a6674e627656ab44bd2f5 /ircserver.cpp | |
parent | 26ad55851febe624145ac807dbf59376ba669eaf (diff) | |
download | bounce4-f458a0b65de5db40ecb57d5831117305fc4dd876.tar.gz bounce4-f458a0b65de5db40ecb57d5831117305fc4dd876.zip |
make a bunch more things private/protected where appropriate
Diffstat (limited to '')
-rw-r--r-- | ircserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ircserver.cpp b/ircserver.cpp index 8ccdbb9..830c82b 100644 --- a/ircserver.cpp +++ b/ircserver.cpp @@ -32,6 +32,6 @@ void IRCServer::lineReceivedEvent(char *line, int size) { Buffer pkt; pkt.writeStr(line, size); for (int i = 0; i < bouncer->clientCount; i++) - if (bouncer->clients[i]->authState == Client::AS_AUTHED) + if (bouncer->clients[i]->isAuthed()) bouncer->clients[i]->sendPacket(Packet::B2C_STATUS, pkt); } |