Guest User

Untitled

a guest
Apr 24th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. struct chanuser *cu;
  2. cu = find_chanuser(user->id, c);
  3. if(cu && cu->level == CLEVEL_BANNED) {
  4. if(Oper(user))
  5. MessageUser(user, "NOTE: You're carrying the BANNED level on this channel - due to you being a OPER I wont kick you.");
  6. else {
  7. Kick(c, user, "You're BANNED from this channel!");
  8. return;
  9. }
  10. }
Add Comment
Please, Sign In to add comment