Jan Vidar Krey
56e5557146
Cleaned up the credentials handling, and made it ready for plugins.
2010-07-12 19:05:50 +02:00
Jan Vidar Krey
0810982b57
Fix bug #136 - !broadcast does not report status back to to sender.
2010-06-07 15:41:07 +02:00
Jan Vidar Krey
50fde1c5c8
Updated the broadcast command to not send the message back to the user that sent it, but
...
instead summarize the number of users that received it.
2010-05-26 09:38:14 +02:00
Jan Vidar Krey
62333c5f39
Update the command to send a PM originating from the operator/admin that sent it.
2010-05-25 22:21:56 +02:00
Jan Vidar Krey
58630fde08
Fixed getip to return the ip address of the target user, not self.
2010-04-05 16:35:55 +02:00
Jan Vidar Krey
5454ae279a
Fix bug #120 : !getip does not work
2010-04-05 14:21:40 +02:00
Jan Vidar Krey
19b9f72337
Make sure !version agrees with the connect time banner (same format).
2010-02-11 01:19:58 +01:00
Jan Vidar Krey
8e7e8c68f5
gcc v2.95 compile fixes.
2010-01-28 01:06:41 +01:00
Jan Vidar Krey
b04a20c66e
fixed off by one bug in due to message escape.
2010-01-21 22:20:26 +01:00
Jan Vidar Krey
7e60919596
sorted the commands shown in help.
2010-01-20 00:24:57 +01:00
Jan Vidar Krey
e7cb4cd277
remove extra space before !broadcast messages
2010-01-20 00:12:39 +01:00
Jan Vidar Krey
e45511827f
Added the +rules command.
...
Also added the +motd command to see the message of the day, which is sent while connecting.
2010-01-19 23:30:26 +01:00
Jan Vidar Krey
80c6ad9d76
Added mute/unmute functionality.
2010-01-19 23:07:55 +01:00
Jan Vidar Krey
00995a1946
Fix potential memory leaks and crashes.
2009-11-18 17:41:28 +01:00
Jan Vidar Krey
f50b40fb92
Fix bug #85 - Do not broadcast unknown commands, but allow for commands to be broadcasted if they are double escaped with ++ or !!.
2009-10-06 18:02:37 +02:00
Jan Vidar Krey
69f6d811bf
Added lots of asserts, and split out the ip address from the connection object.
...
Still a lot of work remains and a massive network connection cleanup is needed.
2009-09-29 00:30:52 +02:00
Jan Vidar Krey
1af613d9ce
Fixed printf issues with size_t. Since Windows do not support %zu we have to use %Iu there instead.
...
Solved that with an ugly but needed macro.
2009-08-20 10:44:44 +02:00
Jan Vidar Krey
86ba3ca86f
Complete moving all connection related data out of the hub_user object.
2009-08-07 00:22:30 +02:00
Jan Vidar Krey
4e43746c1b
Moved the ipaddr object into the connection object.
2009-08-03 18:14:34 +02:00
Jan Vidar Krey
4666311516
Add a quit reason to the log messages printed by !log.
2009-08-02 22:53:25 +02:00
Jan Vidar Krey
077bffd74f
Fix capped whoip/history messages due to limit of 1024 bytes imposed wrongly on outgoing server generated messages.
2009-08-02 21:58:12 +02:00
Jan Vidar Krey
b78d48795b
!history had a wrong help description.
2009-08-02 19:26:21 +02:00
Jan Vidar Krey
9b58ba6516
Use correct prefix for log command.
2009-07-28 02:17:57 +02:00
Jan Vidar Krey
f322fbb197
Fix !log command, split it up into multiple messages, and allow for searches.
2009-07-28 02:02:19 +02:00
Jan Vidar Krey
10615a9a1a
Whitespace
2009-07-26 06:32:15 +02:00
Jan Vidar Krey
7b44036480
print ip address when using whoip.
2009-07-26 06:30:48 +02:00
Jan Vidar Krey
444f991f44
Fix bug #44 - [Request] IP log in the memory
2009-07-26 06:03:43 +02:00
Jan Vidar Krey
b125ffe3c1
Fix bug #52 - [Request] Chat history command
2009-07-26 05:23:56 +02:00
Jan Vidar Krey
76b84499bc
Fix bug #46 : [Request] A broadcast command.
...
Use !broadcast <message>
2009-07-26 04:47:43 +02:00
Jan Vidar Krey
6358c7f9cd
Fix bug #45 : [Request] Whoip command.
...
Rewrote patches from Zoltan to support ip ranges and multiple results per IP.
Needed to make sure IPv6 mapped IPv4 addresses were converted to proper IPv4 addresses after accept().
2009-07-26 04:31:36 +02:00
Jan Vidar Krey
367871e476
Renamed all "struct user" to hub_user in order to resolve a naming conflict on OpenWRT.
...
Basically: sed -i 's/struct user/struct hub_user/g' `find -type f`
2009-07-26 01:47:17 +02:00
Jan Vidar Krey
36a07e3f7e
Reorganized sources slightly.
2009-07-25 20:05:27 +02:00