X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FWHOHandler.c;h=e470abbda19a278d12385e341d6124005f7622c9;hb=bb5692b9cbff069abbf9573c81e86c3cd2061ceb;hp=ab1b0c0251d862d9b3c3cb8b0eb951952b4d1d6d;hpb=70f9fe3245bcfe95706e68142db3527425319191;p=NeonServV5.git diff --git a/src/WHOHandler.c b/src/WHOHandler.c index ab1b0c0..e470abb 100644 --- a/src/WHOHandler.c +++ b/src/WHOHandler.c @@ -1,5 +1,5 @@ -/* WHOHandler.c - NeonServ v5.2 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* WHOHandler.c - NeonServ v5.3 + * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -75,6 +75,7 @@ void clear_whoqueue(struct ClientSocket *client) { free(entry); } client->whoqueue_last = NULL; + client->whoqueue_first = NULL; } void get_userlist(struct ChanNode *chan, userlist_callback_t callback, void *data) { @@ -208,6 +209,9 @@ void recv_whohandler_354(struct ClientSocket *client, char **argv, unsigned int case '@': chanuserflags |= CHANUSERFLAG_OPPED; break; + case '%': + chanuserflags |= CHANUSERFLAG_HALFOPPED; + break; case '+': chanuserflags |= CHANUSERFLAG_VOICED; break;