Florian Westphal
5a3128243f
irc.c: reject masks with wildcard after last dot
...
RFC 2812 says in section 3.3.1 ("Private Messages"):
The mask MUST have at least 1 (one) "." in it and no wildcards
following the last ".".
2009-01-18 00:36:38 +01:00
Alexander Barton
3243d9ee44
Implement the IRC command "SERVLIST"
...
The IRC command "SERVLIST" lists all the registered services, see RFC 2811, section 3.5.1.
The syntax is "SERVLIST [<mask> [<type>]]". The parameter <type> is not used by ngIRCd at
the moment, all registered services are of type 0 (which is the default when omitted).
2008-11-19 18:16:26 +01:00
Alexander Barton
2cc21caf32
Implement local channels (prefix "&")
...
This patch implements server-local channels, prefix "&", that are only
visible to users of the same local server and not in the network.
Patch written by Scott Perry (2008-06-04), see:
- http://arthur.barton.de/cgi-bin/bugzilla/show_bug.cgi?id=87
- http://arthur.barton.de/cgi-bin/bugzilla/attachment.cgi?id=24&action=view
2008-11-17 21:52:56 +01:00
Scott Perry
70254a5553
This patch implements a (maybe) compliant WHOWAS command.
...
It is hard to test this in the test suite because we 1) shouldn't rely on
previous tests populating WHOWAS and 2) don't connect a user for more than 30
seconds.
Also makes WHOWAS return ERR_NONICKNAMEGIVEN_MSG as implied by RFC.
2008-05-12 18:56:31 +02:00
Alexander Barton
4e56e5341f
Implement IRC commands SERVICE, SERVLIST, and SQUERY as dummy functions
...
SERVICE, SERVLIST, and SQUERY are required by RFC 2812 (it states in
section 3 that "all commands described in this section MUST be implemented
by any server for this protocol." -- So we implement them without (much)
actual functionality ...
2008-05-05 18:06:43 +02:00
Dana Dahlstrom
97cc58fb13
Invite: prefix last argument with colon when necessary.
2008-05-05 16:12:41 +02:00
Ali Shemiran
530112b114
Add support for modeless channels
...
Add support for modeless channels (+channels).
[fw@strlen.de:
- integrate test cases
- don't support +channels when compiled with --strict-rfc
- do not set +o mode for channel creator
- force +nt mode when channel is created ]
2008-05-01 15:55:12 +02:00
Alexander Barton
ddecfcd831
Implemented IRC commands INFO, USERS (dummy), and SUMMON (dummy).
2008-02-26 23:49:33 +01:00
Florian Westphal
8974e90552
implement '/STAT u' (uptime)
2007-12-11 11:29:43 +00:00
Alexander Barton
d4ed056147
Numeric 317: implemented "signon time" (displayed in WHOIS result).
2007-10-04 15:03:55 +00:00
Florian Westphal
5877bca4bc
fix RPL_LOCALUSERS_MSG (%ld -> %lu)
2006-12-02 14:24:36 +00:00
Florian Westphal
018e351630
-Whitespace Damage; Client_OperCount(), Client_UnknownCount(), Client_MyServerCount() return unsigned long
2006-10-07 10:40:52 +00:00
Florian Westphal
6e105bf87e
channel maxusers now unsigned long
2006-10-06 21:32:58 +00:00
Alexander Barton
257312b102
Changed Numerics 265 and 266 to follow ircd 2.11.x "standards".
2006-10-01 19:13:32 +00:00
Alexander Barton
bed98979dc
Enhanced ISUPPORT message (numeric 005).
2006-10-01 19:03:05 +00:00
Alexander Barton
ca32c1b311
Implementec numeric "333": Time and user name who set a channel topic.
2005-09-02 12:50:25 +00:00
Alexander Barton
bdaf53e799
Fixed TRACE: don't output "Serv" lines for ourself; display more info.
2004-02-28 02:18:16 +00:00
Alexander Barton
c40592d2ce
Removed "USE_" prefixes of configuration #defines.
2003-12-26 15:55:07 +00:00
Alexander Barton
7646739431
New message constant RPL_TRACEOPERATOR_MSG. Changed RPL_TRACESERVER_MSG.
2003-03-19 21:16:16 +00:00
Alexander Barton
42c4e6c7b1
- Added support for "TRACE" command.
2003-01-13 18:56:30 +00:00
Alexander Barton
c428ac7563
- Renamed RPL_FEATURE_MSG to RPL_ISUPPORT_MSG.
2003-01-02 17:55:28 +00:00
Alexander Barton
d19813cc4b
- new message ERR_CANTKILLSERVER_MSG.
2002-12-27 13:15:16 +00:00
Alexander Barton
ab44e1c6cc
- new messages: RPL_FEATURE, RPL_LOCALUSERS and RPL_NETUSERS.
2002-12-22 23:32:05 +00:00
Alexander Barton
d9e3f834d7
- fixed RPL_STATSCOMMANDS_MSG
2002-12-18 14:03:14 +00:00
Alexander Barton
892144dc71
- new constant RPL_YOURESERVICE_MSG, ERR_CHANNELISFULL_MSG, ERR_BADCHANNELKEY_MSG.
...
- fixed ERR_PASSWDMISMATCH_MSG.
2002-12-16 23:11:59 +00:00
Alexander Barton
9f74b95015
- new message ERR_TOOMANYCHANNELS_MSG.
2002-12-13 17:51:41 +00:00
Alexander Barton
c7f075236b
- new file header format (in english).
2002-12-12 12:23:43 +00:00
Alexander Barton
1e5fa014ba
- RPL_STATSLINKINFO_MSG ueberarbeitet, RPL_STATSLINKINFOZIP_MSG eingefuehrt.
2002-12-02 13:17:46 +00:00
Alexander Barton
15d78412bc
- neue Konstante RPL_TIME_MSG.
2002-11-24 18:45:31 +00:00
Alexander Barton
60f14cca38
- neue Meldungen: RPL_STATSLINKINFO, RPL_STATSCOMMANDS, RPL_ENDOFSTATS,
...
RPL_WHOWASUSER, RPL_ENDOFWHOWAS und ERR_WASNOSUCHNICK.
2002-11-22 23:08:04 +00:00
Alexander Barton
c0e7a0124d
- RPL_UMODEIS hat Code 221, nicht 211 ... *argl*
2002-11-22 22:56:58 +00:00
Alexander Barton
14e870e2ec
- Code-Formatierung korrigiert (da waren Tabs wo keine hin gehoerten).
2002-11-04 19:25:26 +00:00
Alexander Barton
c49bee8d0b
- RPL_YOURHOST_MSG nochmals leicht geaendert ...
2002-10-11 02:32:09 +00:00
Alexander Barton
452d98f329
- RPL_YOURHOST_MSG ist nun ircII-kompatibel :-)
2002-10-11 02:16:14 +00:00
Alexander Barton
c7b55aa6f4
- verwendete Datentypen aufgeraumt: beispielsweise INT32 ist nun oft ein LONG.
2002-10-09 16:53:02 +00:00
Alexander Barton
a33105dcd1
- Syntax von RPL_MYINFO_MSG korrigiert (liefert nun vier Parameter).
2002-10-03 15:49:17 +00:00
Alexander Barton
66b461a5ab
- neue Konstanten: RPL_ADMINME_MSG, RPL_ADMINLOC1_MSG, RPL_ADMINLOC2_MSG, RPL_ADMINEMAIL_MSG.
2002-09-16 09:23:40 +00:00
Alexander Barton
a6b61df983
- neue Konstanten fuer Invite- und Banlists: RPL_xxxLIST_MSG, RPL_ENDOFxxx_MSG
...
- neue Message ERR_UNKNOWNMODE_MSG.
2002-07-15 16:33:57 +00:00
Alexander Barton
646acbc0b2
- neue Konstanten ERR_INVITEONLYCHAN_MSG und ERR_BANNEDFROMCHAN_MSG.
2002-06-02 15:22:40 +00:00
Alexander Barton
ef328ab392
- neue Konstanten RPL_INVITING_MSG und ERR_USERONCHANNEL_MSG.
2002-06-02 14:15:50 +00:00
Alexander Barton
d5b4c6dfd3
- neue Konstante ERR_USERNOTINCHANNEL_MSG definiert.
2002-06-01 14:40:00 +00:00
Alexander Barton
b5d74751b1
- Konstanten aufgeraeumt, unnoetige entfernt.
2002-06-01 11:10:40 +00:00
Alexander Barton
f7327524fc
- Weitere Anpassungen an pre-ANSI-Compiler.
2002-05-30 16:52:20 +00:00
Alexander Barton
fba52c45e8
- Aenderungen fuer pre-ANSI-Compiler.
2002-05-27 12:35:19 +00:00
Alexander Barton
28a58717be
- zwei neue Konstanten definiert: RPL_LIST_MSG und RPL_LISTEND_MSG.
2002-04-23 19:50:06 +00:00
Alexander Barton
882c91280e
- Versions-String um "Vendor" erweitert.
2002-03-12 22:08:24 +00:00
Alexander Barton
7049b60af4
- der System-Typ wird nun wieder korrekt ermittelt und verwendet.
2002-03-12 15:19:12 +00:00
Alexander Barton
ca33cbda05
- externe portab-Header werden nicht mehr benoetigt/benutzt, dadurch
...
einige Aenderungen an diversen Source-Dateien und Headern.
- Dateien enthalten keine CVS-History mehr.
2002-03-12 14:37:51 +00:00
Alexander Barton
9d5551ba6d
- neue Konstanten RPL_ENDOFWHO_MSG und RPL_WHOREPLY_MSG definiert.
2002-03-03 19:41:46 +00:00
Alexander Barton
d58e22a3ea
- neue Text-Konstante: ERR_NOTONCHANNEL_MSG
2002-02-27 20:33:01 +00:00