[IRCServices Coding] Feature Request: EASY

Aragon Gouveia aragon at phat.za.net
Fri Jan 2 14:54:20 PST 2004

/msg chanserv set #MyChannel entrymsg [#MyChannel] Welcome

By enforcing something you're removing flexibility.  Maybe some channel
owners don't want the channel name appearing in their entry message.

As it is now, there's nothing that stops you from adding it manually.

But, this is just my opinion... ;)

| By Brent DiNicola <ircservices at elric.net>
|                                          [ 2004-01-03 00:50 +0200 ]
> I would like to ask that you add the channel to the notice for the entrymsg.
> Currently if I set the entry message to "Welcome" then when I join I will 
> get a notice:
> -Chanserv- Welcome
> Could this be modified to include the channel name? For example:
> -Chanserv- [#MyChannel] Welcome
> This appears to be 1 line to change in the main.c of chanserv module, maybe
> like the following from:
> notice(s_ChanServ, user->nick, "%s", ci->entry_message);
> to
> notice(s_ChanServ, user->nick, "[%s] %s", ci->name, ci->entry_message);
> If there is a better way, please let me know.
> Thanks
> Brent