Sadie Powell
b755d2a778
Merge branch 'insp3' into master.
2020-05-05 22:03:14 +01:00
InspIRCd Robot
44489ddf7e
Update copyright headers.
2020-04-24 10:23:47 +01:00
Sadie Powell
442101525b
Rename ERR_CANTSENDTOUSER to match the channel numeric name.
2020-04-11 17:30:55 +01:00
Sadie Powell
df17d47b6a
Use ircd-hybrid's numerics for the "pending invites" list.
...
This fixes a conflict with the numerics used by the invite
exception mode.
2020-02-18 18:56:14 +00:00
Sadie Powell
2e0cc3684d
Generalise XLine stats numerics using RPL_STATS from aircd.
2020-02-18 18:56:14 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Robby
e57d1b19ff
Textual improvements and fixes such as typos, casing, etc. ( #1612 )
2019-04-28 09:14:21 +01:00
Peter Powell
db5610a564
Use consistent numerics when a mode already exists or doesn't exist.
2018-12-09 06:57:10 +00:00
Peter Powell
b5bc17fba3
Send the 001-004 numerics and MOTD/LUSERS from core_info.
...
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-22 21:25:55 +01:00
Peter Powell
a69f543be3
Fix a bunch more conflicting/unnamed numerics.
2018-08-14 19:31:26 +01:00
Peter Powell
ba23c2b115
Convert AWAY to use cross-module events and clean up slightly.
...
OnSetAway has been replaced with four events. OnUserPreAway and
OnUserPreBack can be used to deny an away state change and/or
change the away message of a local user. OnUserAway and OnUserBack
allow modules to be notified that a user's away state has changed.
2018-08-12 15:01:45 +01:00
Peter Powell
227484c6c0
Implement support for the WHOX extension.
...
This is a massive rewrite of core_who which was initially developed
by Adam in 2014. I have rebased and cleaned it up and tightened up
compliance with the specifications.
Co-authored-by: Adam <Adam@anope.org>
2018-07-12 14:37:56 +01:00
Peter Powell
48a400f2e0
Move a bunch of optional module numerics to the module source file.
2018-04-22 14:35:38 +01:00
Peter Powell
ba31d8080f
Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.
...
There is no reason for these responses to have their own numerics
when other modules do not. The only thing this does is make life
harder for client developers.
2018-04-22 13:31:00 +01:00
Peter Powell
c2376ac6f4
Add names for a bunch of numerics.
2018-02-02 10:43:32 +00:00
Peter Powell
d5a6054948
Add ERR_INVALIDMODEPARAM for responding to invalid mode params.
...
Currently on invalid modes we do a combination of different things:
1. Send a custom mode-specific numeric (which often collides with
other modes).
2. Send a server notice.
3. Do absolutely nothing.
This new numeric is a generic way of handling invalid parameters
when setting a mode that avoids all of the mistakes of the previous
behaviour.
2018-01-29 11:52:13 +00:00
B00mX0r
026c579e4c
Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics
...
Per #1122
2017-12-22 00:35:09 -08:00
Peter Powell
150258b1f1
Clean up numeric usage in WHOIS and WHOWAS.
...
- Add constants for all of the used numerics.
- Switch RPL_CHANNELSMSG from 336 to 651 to avoid a conflict with
RPL_INVITELIST from ircd-hybrid.
- Switch RPL_WHOWASIP from 379 to 652 to avoid a conflict with
RPL_WHOISMODES from UnrealIRCd.
2017-12-09 17:16:11 +00:00
Peter Powell
5a3f8af9f9
Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.
...
Also move the command name to a parameter so that it is more easily
parseable by software.
2017-09-06 12:08:56 +01:00
Peter Powell
b13b1b8a06
Convert uncontroversial anonymous numerics to use constants.
2017-09-06 10:44:41 +01:00
Peter Powell
d68c5be901
Change the numerics used by /COMMANDS to avoid a collision.
2017-09-06 09:26:05 +01:00
Peter Powell
9bb631990d
Improve the numerics we send in response to MAP.
...
- Send the same numerics as ircu/ircd-hybrid/charybdis/ratbox/etc.
These are much more widespread and predate the Unreal numeric we
currently send.
- Move RPL_MAPUSERS to 018. This numeric is unused and does not
conflict with RPL_PRIVS like our current one does.
2017-07-13 16:54:18 +01:00
Attila Molnar
2b9f083cb1
cmd_mode Switch to a numeric for showing modes of other users
2016-12-30 19:05:00 +01:00
Attila Molnar
787ccb22dc
Fix whitespace issues
2016-09-02 13:20:16 +02:00
Peter Powell
5785411ac5
Fix sending the wrong numeric when an empty new nick is received.
2016-06-22 10:27:18 +01:00
Attila Molnar
1fd6f04e6d
Add RPL_WHOREPLY to the list of numerics
...
Use it instead of the raw number
2016-02-26 16:03:00 +01:00
Attila Molnar
9cb415d6bd
Add RPL_ISON, RPL_USERIP and RPL_USERHOST to the list of numerics
...
Use them instead of the raw numbers
2016-02-25 18:21:07 +01:00
Attila Molnar
28dcc1f9e0
Add Numeric::Numeric
2016-02-25 15:25:02 +01:00
Peter Powell
e0412d5161
Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.
...
This is specified in RFC 1459 so we should probably use it.
2015-01-24 11:57:49 +00:00
Adam
6c7a3ceb6c
Use WriteNumeric() everywhere we send numerics and include the user's nick automatically
2013-11-12 06:51:31 -05:00
Peter Powell
11cafc12d5
Tidy up source files:
...
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
Robby-
46a3904619
Replace copyright headers with headers granting specific authors copyright
2012-04-19 20:58:29 +02:00
Justin Crawford
df5f76832e
Fixes for bug #12
2012-04-14 18:03:25 -07:00
brain
cd712c40e1
...because every now and again, i have to do a massive commit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
brain
1fb8a3f1b1
Merge patch from dKingston for missing TOPIC numeric, also replace the literal 331 with an RPL_* enum value, thanks!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11510 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-13 22:44:07 +00:00
psychon
b6dbd6caab
Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
...
for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org# ' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/# ' -i $file ; done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 12:42:35 +00:00
peavey
7d9cc14d3e
Add missing header #define assuring its only included once where needed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11106 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 21:14:43 +00:00
peavey
f209cce90b
Nuke trailing spaces
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 21:14:36 +00:00
w00t
43847ec9c7
Update copyrights for 2009.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 18:16:05 +00:00
w00t
669b43c9db
Fix incorrect numerics, closes bug #588
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10113 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-07 15:30:06 +00:00
brain
93d7a1311d
304 -> RPL_SYNTAX
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 12:19:30 +00:00
w00t
2e664462f2
is rfc of sorts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10050 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:51:52 +00:00
w00t
33ce32eb8b
More numerics.h conversion
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10049 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-20 09:37:09 +00:00
w00t
fce32c7b5b
Lots, lots more numerics.h conversion
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14 07:24:37 +00:00
w00t
0797f13121
Convert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10013 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 22:57:45 +00:00
brain
7009fbf66e
Fix indentation to look right
...
Fix 008 and 042 to be correct (not invalid octal)
Change documentation of 501
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10012 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 20:40:09 +00:00
w00t
468144eb0b
More conversion, and a note to client coders.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:58:28 +00:00
w00t
48103a05e7
Convertage.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10010 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:34:55 +00:00
w00t
0579cdd300
Convert, convert, convert
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10009 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:24:38 +00:00
w00t
3a9cee1356
Convert a bunch of crap
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10008 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-13 19:19:15 +00:00