- only show MG_ usernames in Internet IRC lobby (just for you tomreyn)
This commit is contained in:
parent
d613e5da7b
commit
43bf94c644
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user