1. uranium
  2. shadowircd

Commits

jdhore  committed e61fa1e

Rewrite message when you don't have the privs to kick a user
(be it that the user is +a and you're +o/+h or you're not an op at all).

  • Participants
  • Parent commits c03a75e
  • Branches trunk

Comments (0)

Files changed (2)

File TODO-SHADOW

View file
 Todo list for ShadowIRCd 6.1
 -----------------------------
-* pretty error messages for +ah stuff
 * update ojoin/omode/etc to use +ah
 * notice/message !#channel and %#channel
 * clean disable/removal of modes on rehash, if possible without being ugly

File modules/core/m_kick.c

View file
 					is_override = 1;
 				else
 				{
-					sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
+					sendto_one(source_p, ":%s 482 %s %s :You do not have the proper privledges to kick this user",
 							me.name, source_p->name, name);
 					return 0;
 				}