mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
- only show MG_ usernames in Internet IRC lobby (just for you tomreyn)
This commit is contained in:
@@ -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);
|
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());
|
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);
|
nickList.push_back(realNick);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
IRCThread *ctx = (IRCThread *)irc_get_ctx(session);
|
IRCThread *ctx = (IRCThread *)irc_get_ctx(session);
|
||||||
if(ctx != NULL) {
|
if(ctx != NULL) {
|
||||||
|
Reference in New Issue
Block a user