summaryrefslogtreecommitdiff
path: root/src/irc
AgeCommit message (Collapse)Author
2001-11-05Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get ↵Timo Sirainen
before possibly identically named headers in the glib's include directory. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04Looks like I went and broke /PART accidentally..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,Timo Sirainen
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is now treated as active target. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03Added missing irc-commands.hTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03* works now as active channel with /NOTICE, /CTCP and /NCTCP.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 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-02compile fix - patch by manoj@io.comTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1956 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-11-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01Check that it's IRC-channel we're destroying before doing any IRC-specificTimo Sirainen
deinitialization. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-30added $cumode_space expando. Like $cumode, but gives " " if there's no mode.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23Don't print glib errors when parting a channel which isn't synced yet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-23/UNBAN -first | -last options added. Patch by fuchs.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22just some extra check - might fix some crash..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Added reference counter to SERVER_CONNECT_REC. Since it's being moved aroundTimo Sirainen
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21quitmsg_is_split() updated to check that top-level domains must be 2+ charsTimo Sirainen
and contain only alphabets. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Channels weren't synced if you joined multiple channels at once and one ofTimo Sirainen
the chennels couldn't be joined for some reason. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1877 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-19format string exploit found & patch by cph@cph.demon.co.ukTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-19Actions are now transferred correctly, own messages in main irssi areTimo Sirainen
transferred now to clients. Patch by ganesh@earth.li. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1848 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-10-14Irssi lost channel key for secret/private channels after join.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14$usermode's "user mode changed" signal had wrong argument check (server vs.Timo Sirainen
window) so it didn't really detect mode changes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02Added MODULE_DATA_UNSET() macro and started using it. Just to make sure weTimo Sirainen
don't try to access free'd data. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20When using /SET hostname ipv6:address, replace the ':' char with '_' so itTimo Sirainen
won't break the USER command which is sent to server at connect. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-13..the same fix..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-13Don't crash if the IRC server doesn't print your nick in /NAMES list afterTimo Sirainen
join. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-12The new /SET dcc_port range didn't work properly..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11autolog: target name is now always lowercased with irc protocol.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11Added option /SET channel_sync - if disabled irssi disables the channelTimo Sirainen
syncing entirely. This breaks /BAN and probably something else too. Just a temporarily kludge until I fix this properly (on demand /USERHOST at /BAN time, etc.). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10/SET dcc_port accepts now port range (eg. "10000 20000")Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-06Use only the first word from username when sending it to server.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Some internal changes how /SERVER command works. Added /SERVER PURGETimo Sirainen
[<target>] command. The channel output is purged at /PART if the output queue is larger than 10. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14quitmsg_is_split() fix - the hosts must contain the domain part now (ie.Timo Sirainen
"word1 word2" isn't a netsplit) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Rewrote quitmsg_is_split(). A bit faster now and doesn't match to quitTimo Sirainen
messages like "foo. bar." git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Added missing module_register() calls.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Module loading updates - /LOAD shows now also the statically loaded modules.Timo Sirainen
You can't /LOAD the same module twice. Syntax changed to /LOAD <module> [<submodule>], /UNLOAD <module> [<submodule>]. NOTE: all modules now need to call register_module() in their init() function. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13max_query_chans set to 1 by default. Set to 10 in networks where it's knownTimo Sirainen
to work. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1745 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08If we receive INVITE for a channel that is added with /CHANNEL ADD -auto,Timo Sirainen
join it immediately. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08/BAN [-type] -> /BAN [-normal | -user | -host | -domain | -custom <type>].Timo Sirainen
Added ban type "User" git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25get the version from IRSSI_VERSION, not VERSION. #include "signals.h" wasTimo Sirainen
missing from proxy.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Moved awaylog to core.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Added --home and --config command line parameters to irssi to specifyTimo Sirainen
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14rm -f the libirc_proxy.a before ln -s.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14Cut the messages sent to rawlog to 510 chars too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13Compiles now statically to irssi with --with-modules=proxyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-10Makefile fixed to use module directory again. If /SET irssiproxy_ports hasTimo Sirainen
'*' as server tag, it will match for any of the servers (useful if you're only using one). Fixed a crash if client sent a request to server and quit before the reply was received. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29Removed the "domain is 2 or 3 chars" check from quitmsg_is_split() sinceTimo Sirainen
Undernet nowadays prints "*.net *.split" quit message for netsplits and the netsplit quit message can't be faked anyway with current IRC servers. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Don't reply to CTCP PINGs longer than 100 bytes (see the comment).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27/NICK: don't bother trying to change the nick to the one you already haveTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1577 dbcabf3a-b0e7-0310-adc4-f8d773084564