- only show MG_ usernames in Internet IRC lobby (just for you tomreyn)

This commit is contained in:
Mark Vejvoda 2011-03-16 05:03:30 +00:00
parent d613e5da7b
commit 43bf94c644

View File

@ -328,10 +328,13 @@ void event_numeric(irc_session_t * session, unsigned int event, const char * ori
get_nickname(tokens[j].c_str(),realNick,127);
if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("===> IRC: user joined channel realNick [%s] tokens[j] [%s]\n", realNick,tokens[j].c_str());
// Only show Megaglest users in the user list
if(strncmp(&realNick[0],"MG_",3) == 0) {
nickList.push_back(realNick);
}
}
}
}
IRCThread *ctx = (IRCThread *)irc_get_ctx(session);
if(ctx != NULL) {