mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 21:33:59 +02:00
- only show MG_ usernames in Internet IRC lobby (just for you tomreyn)
This commit is contained in:
@@ -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);
|
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());
|
||||||
|
|
||||||
nickList.push_back(realNick);
|
// Only show Megaglest users in the user list
|
||||||
|
if(strncmp(&realNick[0],"MG_",3) == 0) {
|
||||||
|
nickList.push_back(realNick);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user