Kevin Easton
04cf832604
Change send_msg_to_channels() to remove 'channels' argument and always use PRIVMSG
...
The 'channels' argument was unnecessary because the channel list passed to it would
always be from get_server_channels(server) anyway.
Changing the message argument from a protocol message format string to a plain payload
string for PRIVMSG means printf-escaping of the argument is avoided in the caller.
This simplifies the callers and means we can remove the last use of quote_it().
This change also switches set_server_away() to use send_msg_to_channels() instead of
open-coding the equivalent, which simplifies that function a lot.
We are changing the signature of a function exported to modules here; however none
of the in-tree modules use this function so it should be OK.
2016-10-13 01:36:19 +11:00
..
2008-02-25 09:49:14 +00:00
2012-02-17 13:11:03 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2016-05-25 23:38:11 +10:00
2015-06-20 00:03:15 +10:00
2015-06-16 13:23:36 +10:00
2016-03-31 23:55:14 +11:00
2008-05-07 11:07:31 +00:00
2015-10-28 21:46:38 +11:00
2008-02-25 09:25:32 +00:00
2016-03-20 23:48:31 +11:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2015-10-28 21:42:33 +11:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2016-03-31 23:55:14 +11:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2015-06-20 00:03:15 +10:00
2016-10-08 00:35:46 +11:00
2016-03-17 21:39:17 +11:00
2015-06-17 22:50:49 +10:00
2013-11-10 12:00:08 +00:00
2008-02-25 09:25:32 +00:00
2015-09-02 23:39:53 +10:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2015-10-28 21:46:38 +11:00
2010-06-26 08:18:34 +00:00
2016-10-13 01:36:19 +11:00
2014-10-29 14:07:05 +00:00
2010-09-30 13:26:06 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2016-03-24 11:21:09 +11:00
2012-06-02 14:53:37 +00:00
2016-04-14 21:51:49 +10:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2015-06-19 23:12:10 +10:00
2016-10-13 01:36:19 +11:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2016-03-17 21:39:17 +11:00
2015-06-07 00:03:09 +10:00
2015-06-07 00:03:09 +10:00
2008-02-25 09:49:14 +00:00
2015-10-20 23:12:33 +11:00
2015-06-12 15:54:43 +10:00
2008-02-25 09:25:32 +00:00
2009-10-16 12:35:56 +00:00
2008-02-25 09:25:32 +00:00
2008-04-30 13:57:56 +00:00