- 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
1 changed files with 4 additions and 1 deletions

View File

@ -328,7 +328,10 @@ 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());
nickList.push_back(realNick);
// Only show Megaglest users in the user list
if(strncmp(&realNick[0],"MG_",3) == 0) {
nickList.push_back(realNick);
}
}
}
}