Bram Matthys
cce6eb7586
re-indent
2015-10-26 10:22:28 +01:00
Bram Matthys
243045a887
Workaround for libcurl bug. Fixes #4419 . This caused an un-/REHASH'able server if you used remote includes (epoll_ctl error) and were adding new listen blocks at runtime, for example.
2015-10-26 10:17:47 +01:00
Bram Matthys
10f56911c4
Another fix for #4431 & #4433 . Yes, there were two bugs! This one was already pointed out by DBoyz, actually.
2015-10-25 19:44:34 +01:00
Bram Matthys
4d7e84b39a
Seems "someone" forgot to include the sender prefix in the format string. Fix crash reported by dboyz ( #4431 ) & Erik ( #4433 ) in invite notify.
2015-10-23 18:43:11 +02:00
Travis McArthur
eac9230931
Fix bug in when we set backend flags in kqueue
2015-10-19 10:55:31 -07:00
Bram Matthys
f6837d0202
Add has_channel_mode(chptr, 'X') for modules.
...
Since many channel modes are modular now you can't simply check chptr->mode.mode & SOME_MODE, instead use this function ;)
2015-10-17 19:51:59 +02:00
Bram Matthys
2de3fbf9d0
Remove MODE_NOCOLOR and MODE_STRIP leftovers.
2015-10-17 19:51:39 +02:00
Bram Matthys
240f550e4f
Re-indent this damn file. Has been annoying for years..
2015-10-17 12:35:14 +02:00
Bram Matthys
c5ad32e909
Make /GLINE, /ZLINE, etc.. without parameters call /STATS .. internally so we can get rid of duplicate code.
...
Previously notices were missing if you used f.e. /SHUN without paramers, reported by Dodge_Ram (#2533 ).
2015-10-17 12:04:03 +02:00
Bram Matthys
bc2f58e8dd
/NOTICE $* did not work. Fix broken sendto_match_butone(). Reported by blank ( #4422 ).
2015-10-17 11:39:20 +02:00
Bram Matthys
23e65d3ca0
Merge branch 'unreal40' of github.com:unrealircd/unrealircd into unreal40
2015-10-17 11:12:59 +02:00
Bram Matthys
f1426e02ee
Fix channel mode +P (Permanent) not working if you have set::modes-on-join, reported by blank ( #4426 ).
2015-10-17 11:11:55 +02:00
Travis McArthur
4e8f954db6
Fix error handling in kqueue reload
2015-10-16 15:34:10 -07:00
Travis McArthur
b747d00dea
Fix kqueue behavior on fork
2015-10-16 15:32:10 -07:00
Travis McArthur
c0eb5a1faf
Fix removing things from kqueue before adding
2015-10-16 14:05:59 -07:00
Matt Ullman
cf34e4dbe8
Fix error message in delayjoin
2015-10-13 11:49:26 -04:00
Bram Matthys
8b45169f82
Get rid of $Id$ in /MODULE (version) output. Just report as "4.0"
2015-10-11 18:18:31 +02:00
Bram Matthys
264b43f6a1
Remove crash test on /DIE
2015-10-11 18:03:06 +02:00
Bram Matthys
681fd333cc
name change
2015-10-11 17:46:41 +02:00
Bram Matthys
b428f9b3a3
Windows: wircd.exe -> UnrealIRCd.exe. unreal.exe -> unrealsvc.exe. And some more name changes.
2015-10-11 17:44:49 +02:00
Bram Matthys
a565a68f36
Unreal -> UnrealIRCd
2015-10-11 17:31:59 +02:00
Bram Matthys
ac21d19daa
Windows installer.. details..
2015-10-11 17:09:48 +02:00
Bram Matthys
cd7feca47f
Windows installer: check if VC2012 Update 4 is installed. IOTW: remove unnecessary prompt about visual studio redistributable if already installed
2015-10-11 17:03:49 +02:00
Bram Matthys
30d5018c8e
Fix URL displayed when no config file is available (Windows)
2015-10-11 16:44:28 +02:00
Bram Matthys
7cab2bd83d
Fix crash on boot on Windows
2015-10-11 16:43:04 +02:00
Bram Matthys
fb0709e0f1
Update libcurl path in windows installer
2015-10-11 16:10:13 +02:00
Bram Matthys
537c9a2eea
UnrealIRCd. Not Unreal.
2015-10-10 17:50:09 +02:00
Bram Matthys
507d88cf09
Bump version to 4.0.0-rc1
2015-10-10 17:44:52 +02:00
Bram Matthys
ccdc948200
Improve epoll error message
2015-10-10 16:09:30 +02:00
Bram Matthys
75fb661361
Don't truncate error message (umode +q & umode +S)
2015-10-10 11:22:37 +02:00
Bram Matthys
da7cd5f8cc
Blacklist module will now no longer send server notices about users who have already been klined/glined (earlier).
2015-10-04 11:19:24 +02:00
Bram Matthys
792dd9a63c
Merge pull request #36 from dboyz/3539
...
[#3539 ]: Prevent empty channel message when +S is set and the only text is a color code.
2015-10-01 21:01:16 +02:00
Daniel Tan
20c7e8d825
[ #3539 ]: Validate if return string is NULL
...
We should send ERR_NOTEXTTOSEND too.
2015-10-02 02:00:56 +08:00
Bram Matthys
d059505c33
return value, now this function has been fixed to return int rather than void
2015-09-22 10:45:31 +02:00
Bram Matthys
9ba9d65c7e
Add GCC typechecking: we now validate HookAdd... calls, making sure the function (pointer) is as it should. This to avoid crashes and weird behavior in case of a mismatch.
...
This resulted in 5-10 changes in the existing code where parameters were off.
Hopefully I didn't make too many mistakes when writing the hook prototypes as it was a tedious job.
An (unintentional) benefit of this new system is that you can see the hook prototypes in include/modules.h like:
/* Hook prototypes */
int hooktype_local_quit(aClient *sptr, char *comment);
....
Though, the wiki is likely a better place: https://www.unrealircd.org/docs/Dev:Hook_API
2015-09-21 11:52:00 +02:00
Bram Matthys
3280c3639e
Add runtime "listening on" message if listener is added.
2015-09-20 17:08:49 +02:00
Bram Matthys
cd6f127cfd
Split "UnrealIRCd is now listening on.." message into IPv4 & IPv6 lines. Only display on-boot.
2015-09-18 18:15:17 +02:00
Bram Matthys
331cdbc1d6
IRCd was applying set::restrict-usermodes to remote users, it shouldn't do that ( #4418 ).
2015-09-13 09:29:09 +02:00
Bram Matthys
d0b53a9b09
For non-SID-capable servers: fix nenolod ripping out CLK and NICKIP capability checking.
2015-09-12 11:25:31 +02:00
Bram Matthys
69a121278f
De-duplicate code. Make sendto_serv_butone_nickcmd() use sendto_one_nickcmd(). Fixes bug reported by Adam.
2015-09-12 11:16:02 +02:00
Bram Matthys
af88bc7e19
Make port ranges work again in the listen block.
2015-09-09 08:21:05 +02:00
Bram Matthys
ada38f7ac3
Fix explicit password method in .conf no longer working, eg: password "....." { md5; };
2015-09-07 16:44:08 +02:00
Bram Matthys
493ac9aec9
Add 'r' to flags if compiled with remote includes support. Suggested by katsklaw ( #4002 ).
2015-09-07 12:59:00 +02:00
Bram Matthys
74f2c10e2e
Remote includes cache was only written after the first /REHASH. Now also on-boot, as it should.
2015-09-07 12:37:54 +02:00
Bram Matthys
09191c47b2
Fix remote include caching for URL's that end in a / ( #4409 too)
2015-09-07 12:24:19 +02:00
Bram Matthys
c12d05182e
Fix remote includes cache not working. Reported by Eman ( #4409 ).
2015-09-07 12:14:15 +02:00
Bram Matthys
ec8a7215bd
Fix /GLINE 'ban too broad' error when the ban was perfectly OK.
2015-09-07 11:58:31 +02:00
Bram Matthys
926bbbcec9
Show remote server IP to ircops in outgoing connects, both on success and failure. Makes things easier to debug.
2015-09-07 11:45:38 +02:00
Bram Matthys
123b91cfe1
Server linking: fix crash on outgoing connect when link::outgoing::hostname is a.. hostname.
2015-09-07 11:42:26 +02:00
Bram Matthys
99fb8dbfd6
Use unrealircd.org and not unrealircd.com in e-mail addresses, URL's, etc.
...
Also use https://
2015-09-06 10:37:03 +02:00