Commits

jdhore committed 27d03af

Make +-a give you the appropriate error message if you don't have
the proper privs.

  • Participants
  • Parent commits cd7d35b

Comments (0)

Files changed (1)

File src/chmode.c

 		{
 
 			if(!(*errors & SM_ERR_NOOPS))
-				sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
-						me.name, source_p->name, chptr->chname);
+				sendto_one(source_p, ":%s 482 %s %s :You're not a channel administrator", me.name, source_p->name, chptr->chname);
 			*errors |= SM_ERR_NOOPS;
 			return;
 		}