aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
Commit message (Collapse)AuthorAgeLines
* Use 320 replies for status messages in /WHOIS, 333 was a bad idea.Wilmer van der Gaast2010-04-12-1/+1
| | | | | Closes Debian bug #576120.
* Include non-away status messages in blist and whois responses. The whoisWilmer van der Gaast2010-03-16-0/+2
| | | | | | change is a complete violation of the IRC protocol but that doesn't seem to be an uncommon thing.
* Changed formatting of Jabber buddy info response.Wilmer van der Gaast2010-03-07-1/+0
|
* Added global and per-account settings "away" and "status" so the user canWilmer van der Gaast2010-03-07-7/+1
| | | | | set these things individually.
* Don't include chat.h from bitlbee.h. make install-dev doesn't installWilmer van der Gaast2009-10-22-0/+1
| | | | | | chat.h and it shouldn't ... but things broke because bitlbee.h includes it. Fixes #534.
* Fixed embarassing early free() bug that sat in the WATCH command handlingWilmer van der Gaast2009-10-04-1/+1
| | | | | | for *years*. I guess it took a while for IRC clients to actually use that functionality...
* Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-2/+1
| | | | | a password in the IRC JOIN command).
* Fixed irc_cmd_join(). Giving a more proper response to invalid channelWilmer van der Gaast2008-09-28-10/+2
| | | | | | names, and checking if an account is on-line before attempting to join one of its chatrooms.
* Added auto_join code.Wilmer van der Gaast2008-08-31-11/+1
|
* /join can now be used to join chatrooms, join_chat should not be usedWilmer van der Gaast2008-08-31-18/+19
| | | | | | anymore. /join should not be used for unnamed groupchats anymore, use "chat with" instead.
* Added the DEAF command, which makes the daemon stop listening for newWilmer van der Gaast2008-06-29-0/+1
| | | | | | connections. This makes it easier to upgrade a BitlBee without having to disconnect all current users immediately. Closes #428.
* Changed charset handling: irc_t keeps two iconv structures, which are justWilmer van der Gaast2008-03-30-2/+1
| | | | | | | | used for every line sent and received, so now there's no need to use g_iconv_open() every time a message comes in/out. Also, fixed a small memory leak that was there for a long time but somehow never caught my attention.
* Closing bug #209: The PASS command can now be used to identify yourselfWilmer van der Gaast2008-03-29-3/+21
| | | | | | to BitlBee. The advantage: No more messing with NickServ hooks. Just set a server password.
* Added some brackets in irc_cmd_(pass|oper) to prevent crashes when noWilmer van der Gaast2008-03-16-6/+6
| | | | | passwords were set.
* Passwords in bitlbee.conf can now be (properly salted) MD5 hashes, forWilmer van der Gaast2008-03-16-2/+8
| | | | | just that little bit extra security.
* Got rid of some noise at startup: complaining when the default configurationWilmer van der Gaast2008-02-11-1/+1
| | | | | | file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
* Added help_free() and cleaned up some very stale help-related stuff IWilmer van der Gaast2008-02-02-1/+1
| | | | | wasn't even aware of. This closes bug #352.
* Added /invite support for Jabber chatrooms (and fixed the argument orderWilmer van der Gaast2007-12-09-1/+1
| | | | | to chat_invite).
* Merging /TOPIC code from Miklos Vajna. Untested, because I still have toWilmer van der Gaast2007-11-19-3/+14
| | | | | implement the Jabber hooks.
* Got rid of one HORRIBLE stupidity called chat_by_channel(), which stillWilmer van der Gaast2007-04-22-3/+3
| | | | | | | used the GLOBAL IM connections list, allowing user A to interfere with user B's groupchats if running in daemon mode. I can't believe this was still there...
* Split serv_got_update() into imcb_buddy_(status|times). (Well, the secondWilmer van der Gaast2007-04-15-1/+1
| | | | | | | one isn't implemented yet, but I'll do that later.) At last I got rid of the hack called get_status_string(). And now Yahoo seems to mess up away messages...
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-1/+1
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-18/+18
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Preparing for Jabber conference room support.Wilmer van der Gaast2007-03-27-5/+5
|
* Bye bye lilo. I've never been a fan of yours, but let's not make fun of theWilmer van der Gaast2006-11-24-1/+1
| | | | | dead...
* Implemented per-account nick lists instead of per-protocol nick lists.Wilmer van der Gaast2006-07-03-1/+2
| | | | | | | | | | nick_t is dead, instead nicks are just saves in a per-account_t GLib hash table. While doing this, the import_buddies command finally died and text_save() disappeared, because the old file format can't handle most of the new features in this branch anyway. Still have to implement support for the new nick lists in text_load()!
* Got rid of struct aim_user (now using account_t everywhere). Needs some moreWilmer van der Gaast2006-07-01-8/+8
| | | | | testing though.
* Made set.c API more generic so it's not specific to irc_t structures anymore,Wilmer van der Gaast2006-06-30-1/+1
| | | | | but can be used for account_t structures too, for example.
* IRC protocol compliance fixes (closes: #158, #159, #160).Wilmer van der Gaast2006-06-25-1/+6
|
* [merge] upstreamJelmer Vernooij2006-06-16-3/+3
|\
| * !x&y == (!x)&y, not !(x&y).Wilmer van der Gaast2006-06-15-1/+1
| |
| * Converted irc->status to binary flags. (This also fixes auto-save-on-quitWilmer van der Gaast2006-06-15-3/+3
| | | | | | | | | | that broke because of USTATUS_SHUTDOWN. :-( )
* | Remove unused variable.Jelmer Vernooij2006-06-13-1/+1
|/
* Removed a message that only applied to the MSN module that got replacedWilmer van der Gaast2006-05-29-1/+1
| | | | | two years ago already.
* "ISON :nick1 nick2" works too now, which seems to be what the RFCs reallyWilmer van der Gaast2006-05-28-15/+28
| | | | | want (although the example says "ISON nick1 nick2").
* Silenced all compiler warnings that appeared after previous commit.Wilmer van der Gaast2006-05-23-2/+2
|
* Some changes for im_api. (bim_* functions)Wilmer van der Gaast2006-05-23-1/+1
|
* Added the IRC VERSION command.Wilmer van der Gaast2006-03-18-0/+6
|
* Added RESTART command for easier upgrades without losing IPC connections.Wilmer van der Gaast2006-02-02-0/+1
|\ | | | | | | | | (Obviously only works well for forking daemon mode.)
| * Added RESTART command (only for ForkDaemon mode) for easier upgrades.Wilmer van der Gaast2006-01-21-2/+6
| |\
* | | /AWAY now only sets the IM-protocols away that belong to the current IRCWilmer van der Gaast2006-01-23-5/+5
| |/ |/| | | | | | | /connection (was an issue in single-process daemon mode).
* | Fixed counting of arguments in i[rp]c_exec(), made them a bit too simple.Wilmer van der Gaast2006-01-21-2/+5
|/
* Renamed commands.c, got rid of return values in all command functions.Wilmer van der Gaast2006-01-20-99/+48
|
* Rehash command now also works in inetd mode. Other "IPC" commands only makeWilmer van der Gaast2006-01-19-1/+6
| | | | | sense in daemon mode.
* Merged (and adapted) changes from main tree.Wilmer van der Gaast2006-01-18-1/+1
|
* A KILL command. Unfortunately the user doesn't see the KILL message yet. :-(Wilmer van der Gaast2006-01-17-2/+3
|
* Added REHASH command, IPC emulation in daemon (non-forked) mode.Wilmer van der Gaast2006-01-15-2/+10
|
* s/WALLOP/WALLOPS/, added LILO command.Wilmer van der Gaast2006-01-15-1/+2
|
* Imported irc_command branch and used this addition for parsing IPC commands. ↵Wilmer van der Gaast2006-01-15-1/+7
| | | | (Implemented WALLOP and a very evil DIE.)
* Separated the IRC line splitting/parsing code (to use it for IPC too), and ↵Wilmer van der Gaast2006-01-14-1/+1
| | | | improved the splitting to deal with empty arguments.