From f458a0b65de5db40ecb57d5831117305fc4dd876 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 21 Jan 2014 01:28:58 +0100 Subject: make a bunch more things private/protected where appropriate --- ircserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ircserver.cpp') 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); } -- cgit v1.2.3