commandsno (v1.14)

These are old archives. They are kept for historic purposes only.
Post Reply
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

commandsno (v1.14)

Post by frozen »

I have loaded this module on every IRCd in my network, and when someone uses one of the commands I have specifyed in the configs I only get the notice if I am opered up on the same leaf as the person using the command. Is there a way I can make this notice global (send to all opers with +C not just opers on local IRCd)?
http://www.angrywolf.org/commandsno.tar.gz
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post by JanisB »

According to
** 3.2.2 release **
- Module coders: New function: sendto_snomask_global().
Try to change

Code: Select all

		sendto_snomask(SNO_COMMAND,
			"%s (%s@%s) used command %s (params: %s)",
			sptr->name, sptr->user->username, sptr->user->realhost,
			ovr->command->cmd, mybuf);
to

Code: Select all

		sendto_snomask_global(SNO_COMMAND,
			"%s (%s@%s) used command %s (params: %s)",
			sptr->name, sptr->user->username, sptr->user->realhost,
			ovr->command->cmd, mybuf);
and recompile plugin.
frozen
Posts: 53
Joined: Sat Jun 12, 2004 7:39 am

Post by frozen »

JanisB++;

Edit: JanisB += 10; // more like it!
Post Reply