summaryrefslogtreecommitdiff
path: root/src/irc/core/modes.c
AgeCommit message (Collapse)Author
2002-08-27a bit more fixes for +k updatingTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27Don't update channel key from 324 numeric, some servers send channel key asTimo Sirainen
"*" in it which breaks irssi. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05"/MODE !channel" should send the full name to serverTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2838 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26Don't treat +d as regular channel mode.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22Added setby-parameter to "nick mode changed" and "channel mode changed"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17Allow /OP, etc. commands for server operators as well. They may not workTimo Sirainen
everywhere, but the whole point of the check was to avoid accidental /OP * or something while not opped in some huge channel. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11/SET max_wildcard_modes 0 should disable the checkingTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10Added /SET max_wildcard_modes (default 6) - if a wildcard to /OP, /DEOP,Timo Sirainen
/VOICE or /DEVOICE matches more nicks than this, -yes option is required. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-08/OP etc. shouldn't crash if channel hadn't received /NAMES list yet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn'tTimo Sirainen
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and /DEVOICE so you can do /OP * again :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01Added optional channel parameter to /OP, /DEOP, /VOICE and /DEVOICETimo Sirainen
commands. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30"/MODE #channel -k" automatically appends the channel key if it wasn'tTimo Sirainen
given. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14bugfix for previous fix :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14e/I/O/q mode changes shouldn't change the visible channel mode.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11User mode changes weren't visible.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07Added support for 326 and 327 whois numerics in OPN.Timo Sirainen
Removed keeping track of ban exceptions and invite list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06On nick collision kills, reconnect back immediately. On any other type ofTimo Sirainen
kills, stop reconnecting to the server entirely. When reconnecting to server and setting back the old user mode, only use the modes that we actually wanted to change with /MODE commands, don't try to set back modes given to us by server (eg. +r). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03/OP, /DEOP, /VOICE and /DEVOICE fixed not to print glib error if used inTimo Sirainen
non-channel window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15/DEVOICE * should devoice operators having voices too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-12channel_set_singlemode() : don't do anything if you're not channel op/halfopTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11MODE +k handler was buggyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-09support for +O modeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08/SET opermode - set this mode when you get ircop status.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06sometimes channel key wasn't saved.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05Server events: switched order of data and server parameters. it's nowTimo Sirainen
SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22Wildcards didn't with /OP (/DEOP, /VOICE, etc.) if there was more thanTimo Sirainen
one masks used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13updating user modes were handled as they were channel modes, like +oTimo Sirainen
etc. thought they needed arguments. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-07If mode didn't have the expected argument irssi would loop forever.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-10/OP, /DEOP, etc. commands printed warning if no valid nicks were found.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@658 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-29/mode #channel -oooo... would deop the first 3, and then op the rest.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Some fixes to handling +l and +k mode.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-20Channel mode handling changed - there's no more mode_xxx fields inTimo Sirainen
channel structure, but instead just one mode string field. Also handling half-ops (+h) should work right. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29/OP, /DEOP, /VOICE and /DEVOICE without any parameters didn't work rightTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30When doing "/OP nick1 nick2" (two spaces), irssi tried to op "" nick too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Changed option handling in /commands. Irssi will now complain aboutTimo Sirainen
unknown options and missing option arguments. Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12Max. mode parameter count was taken from wrong place.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10/MODE +something or /MODE -something assumes that we want to change theTimo Sirainen
active channel's mode. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06bugfixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25Added bot plugin, it also has almost-functional botnet.Timo Sirainen
Changed configure.in's functionality so that you could tell what modules you want to build in main irssi binary and it will create automatically the .c files that need to call the module_init()/deinit() functions. Fixed several minor things.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-17/mode #channel -k key now removes the "+k" mode too instead of just settingTimo Sirainen
the channel key to NULL. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10/MODE was buggyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28/ban and /invite crashed, /mode didn't work. ctcp.c doesn't needTimo Sirainen
irssi-version.h git-svn-id: http://svn.irssi.org/repos/irssi/trunk@194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564