Commit Graph

42 Commits

Author SHA1 Message Date
.
15b08e0f27 wip
--HG--
branch : nmdc-ircfrontend
2016-05-03 19:25:37 +12:00
.
46114809bd remove all multiuser support, all goroutines and all channels
--HG--
branch : nmdc-ircfrontend
2016-05-03 18:47:24 +12:00
.
be5715a562 wip
--HG--
branch : nmdc-ircfrontend
2016-05-03 18:25:27 +12:00
.
10e9aa473d remove support for user deciding to leave a channel
--HG--
branch : nmdc-ircfrontend
2016-05-02 19:07:58 +12:00
.
f8a06775f5 remove support for online-renaming yourself
--HG--
branch : nmdc-ircfrontend
2016-05-02 18:54:52 +12:00
ed
d9b56c3e05 Use Client.key for channel clientMap and modeMap lookups and insertions 2016-03-19 03:18:46 -04:00
Harry Jeffery
b714685933 Merge pull request #6 from edjsu/split-rplList
Split rplList into rplList and rplListEnd
2016-03-14 12:43:44 +00:00
Harry Jeffery
9cbea548a3 Merge pull request #5 from edjsu/split-rplMOTD
Split rplMOTD into rplMOTDStart, rplMOTD and rplEndOfMOTD
2016-03-14 12:36:43 +00:00
ed
e040822a92 Use fmt.Fprintf to write messages to client connections 2016-03-14 07:17:05 -04:00
ed
ce6038f4b0 Split rplList into rplList and rplListEnd 2016-03-14 07:03:18 -04:00
ed
d7bbc2b475 Split rplMOTD into rplMOTDStart, rplMOTD and rplEndOfMOTD 2016-03-14 06:58:26 -04:00
ed
8449c7e81a Limit the number of nicks that are sent in a single NAMREPLY message 2016-03-09 03:22:20 -05:00
ed
eed3517995 Normalized newlines so that \r and \n also work as message terminators
[messages are supposed to end in \r\n per RFC 1459, but some clients (Mibbit)
sometimes use \r or \n rather than \r\n]
2016-03-08 23:12:41 +00:00
ed
74dd329440 Make more use of the Client.key struct field 2016-03-08 23:12:41 +00:00
ed
e580513fa5 Update channel.modeMap when a client leaves a channel 2016-03-08 23:12:41 +00:00
ed
4fb9253cc5 - Refactored client.setNick
- Fixed an invalid memory access error that occurs whenever a chan op
  kicks a user from their channel after changing their nick (forgot to
  update the channel's modeMap in client.setNick)
2016-03-08 23:12:41 +00:00
ed
272ea046c4 Remove empty channels from the server channelMap when the last client leaves 2016-03-08 23:12:41 +00:00
ed
0bc9a528ff Set default channel mode to +stn 2016-03-08 23:12:41 +00:00
Harry Jeffery
6b011ef8c3 Reply to PING commands with PONG 2013-10-21 13:34:12 +01:00
Harry Jeffery
860073fbf3 Fixed LIST for weechat 2013-10-21 13:27:10 +01:00
Harry Jeffery
a62ddb6cf4 Fixed NAMES command for weechat 2013-10-21 13:25:39 +01:00
Harry Jeffery
c90f9b92ce Fixed MOTD for weechat 2013-10-21 13:21:26 +01:00
Harry Jeffery
44775cabdd Implemented static MOTD message 2013-09-08 20:35:30 +01:00
Harry Jeffery
10e3a6a6e3 Refactored events and event handling 2013-09-08 16:24:17 +01:00
Harry Jeffery
d569334204 Added MOTD reply type 2013-09-08 16:06:03 +01:00
Harry Jeffery
0d91cad155 Added /VERSION command and set version to 1.0.0 2013-09-02 01:55:19 +01:00
Harry Jeffery
830fc8f612 Added /INFO command 2013-08-30 23:17:54 +01:00
Harry Jeffery
42c068b4bf /JOIN now sends channel name with capitalisation 2013-08-30 16:36:41 +01:00
Harry Jeffery
4760297287 /PART now accepts a reason from the client 2013-08-29 21:23:52 +01:00
Harry Jeffery
e0073e55fd KILL command now accepts a reason 2013-08-29 21:20:34 +01:00
Harry Jeffery
d8f874caef Implemented the /KICK command 2013-08-29 21:10:28 +01:00
Harry Jeffery
70a13eec00 Added key field to client 2013-08-29 20:50:10 +01:00
Harry Jeffery
624c6f3ed7 Added the /MODE command, but it's sloppy. 2013-08-29 17:59:17 +01:00
Harry Jeffery
0ad0dd2989 Added ClientMode.Prefix() function 2013-08-28 16:53:34 +01:00
Harry Jeffery
70a17eb44d Added ERR_CANNOTSENDTOCHAN 2013-08-27 19:40:14 +01:00
Harry Jeffery
9c7dc4d673 Added RPL_CHANNELMODEIS 2013-08-27 19:34:52 +01:00
Harry Jeffery
b26d46ca54 Added basic mode information 2013-08-27 18:54:59 +01:00
Harry Jeffery
ebaddea859 Check for redundant join/parts 2013-08-27 13:44:42 +01:00
Harry Jeffery
6a102e8587 Improved nick/channel case handling 2013-08-27 13:40:51 +01:00
Harry Jeffery
fd94747c9b Created signalCode and replyCode types 2013-08-24 20:58:38 +01:00
Harry Jeffery
e4261d73b8 Some tweaking 2013-08-24 08:36:57 +01:00
Harry Jeffery
1e18fc3c5a Separated code more 2013-08-24 07:48:28 +01:00