srvx.git
11 years agofixed double free or corruption in nickserv.c
pk910 [Thu, 28 Jun 2012 06:34:12 +0000 (08:34 +0200)]
fixed double free or corruption in nickserv.c

12 years agofixed bug in advtopic code
pk910 [Sat, 3 Mar 2012 09:04:03 +0000 (10:04 +0100)]
fixed bug in advtopic code

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Sat, 3 Mar 2012 08:54:30 +0000 (09:54 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agotidied up advtopic code
pk910 [Sat, 3 Mar 2012 08:53:35 +0000 (09:53 +0100)]
tidied up advtopic code

12 years agoupdated example config
lukas9950 [Sat, 18 Feb 2012 16:44:28 +0000 (17:44 +0100)]
updated example config

12 years agoadded AdvTopic (advanced topic) with multiple delimiters
pk910 [Tue, 14 Feb 2012 21:15:28 +0000 (22:15 +0100)]
added AdvTopic (advanced topic) with multiple delimiters

12 years agofixed staff_levels to be required for everyone
pk910 [Tue, 14 Feb 2012 21:12:14 +0000 (22:12 +0100)]
fixed staff_levels to be required for everyone

12 years agofixed cmd_oauthlog (set NICKSERV_MIN_PARMS to 2)
pk910 [Sat, 11 Feb 2012 11:24:20 +0000 (12:24 +0100)]
fixed cmd_oauthlog (set NICKSERV_MIN_PARMS to 2)

12 years agoapplied staff_access patch by ThiefMaster
pk910 [Thu, 9 Feb 2012 16:15:38 +0000 (17:15 +0100)]
applied staff_access patch by ThiefMaster

12 years agofixed missing language entries (missing in giveonership-history-patch)
pk910 [Thu, 9 Feb 2012 12:15:43 +0000 (13:15 +0100)]
fixed missing language entries (missing in giveonership-history-patch)

12 years agoapplied giveownership-history patch by ThiefMaster
pk910 [Thu, 9 Feb 2012 12:07:28 +0000 (13:07 +0100)]
applied giveownership-history patch by ThiefMaster
http://sourceforge.net/tracker/?func=detail&aid=1001261&group_id=31654&atid=403003

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Tue, 7 Feb 2012 13:20:11 +0000 (14:20 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agoadded revoke_mode_a setting
pk910 [Tue, 7 Feb 2012 13:19:36 +0000 (14:19 +0100)]
added revoke_mode_a setting

12 years agoMerge remote branch 'upstream/master'
root [Thu, 2 Feb 2012 21:44:45 +0000 (22:44 +0100)]
Merge remote branch 'upstream/master'

Conflicts:
src/proto-p10.c

12 years agohide password in log files in opt_password (oset password)
pk910 [Mon, 30 Jan 2012 23:43:07 +0000 (00:43 +0100)]
hide password in log files in opt_password (oset password)

12 years agofixed crash in nickserv.c
pk910 [Mon, 30 Jan 2012 20:05:32 +0000 (21:05 +0100)]
fixed crash in nickserv.c

12 years agoAdd a login-on-connect module using XQUERY/XRESPONSE. upstream/master
Michael Poole [Fri, 20 Jan 2012 02:29:15 +0000 (21:29 -0500)]
Add a login-on-connect module using XQUERY/XRESPONSE.

12 years agoSupport ircu's XQUERY and XRESPONSE.
Michael Poole [Fri, 20 Jan 2012 02:29:02 +0000 (21:29 -0500)]
Support ircu's XQUERY and XRESPONSE.

12 years agoFix the modules list for module names ending in c.
Michael Poole [Fri, 20 Jan 2012 02:28:39 +0000 (21:28 -0500)]
Fix the modules list for module names ending in c.

The backslashes in the regular expression \.c\$ were not quoted enough.

12 years agoEnable silent rules for automake (requires automake 1.10 or later).
Michael Poole [Fri, 20 Jan 2012 02:27:56 +0000 (21:27 -0500)]
Enable silent rules for automake (requires automake 1.10 or later).

12 years agoMove m4 support files into m4/ directory.
Michael Poole [Tue, 17 Jan 2012 03:06:49 +0000 (22:06 -0500)]
Move m4 support files into m4/ directory.

automake 1.11 (or something else new in Ubuntu 11.10) complains if
this is not done.

12 years agoadded cmd_oauthlog and fixed cmd_authlog to be user reachable
pk910 [Wed, 11 Jan 2012 14:53:41 +0000 (15:53 +0100)]
added cmd_oauthlog and fixed cmd_authlog to be user reachable

12 years agoupdate LOC hostmask in the authlog when the "real" user connects and show current...
pk910 [Tue, 10 Jan 2012 15:56:54 +0000 (16:56 +0100)]
update LOC hostmask in the authlog when the "real" user connects and show current nick of logged in user in cmd_authlog

12 years agowe can NOT use the numerics used by LOC - great work OGN DEV
pk910 [Tue, 10 Jan 2012 15:49:55 +0000 (16:49 +0100)]
we can NOT use the numerics used by LOC - great work OGN DEV

12 years agoadded authlog
pk910 [Tue, 10 Jan 2012 14:56:05 +0000 (15:56 +0100)]
added authlog

12 years agobuild a better is_valid_email_addr function
pk910 [Sat, 7 Jan 2012 07:14:24 +0000 (08:14 +0100)]
build a better is_valid_email_addr function

12 years agoadded possibility to set custom fields on cmd_search
pk910 [Tue, 3 Jan 2012 20:06:04 +0000 (21:06 +0100)]
added possibility to set custom fields on cmd_search

12 years agochanged set_shows in default config: fixed CtcpUsers, removed not implemented settings
lukas9950 [Tue, 27 Dec 2011 23:29:12 +0000 (00:29 +0100)]
changed set_shows in default config: fixed CtcpUsers, removed not implemented settings

12 years agoMerge branch 'master' of ssh://git.pk910.de:16110/srvx
pk910 [Mon, 26 Dec 2011 14:38:44 +0000 (15:38 +0100)]
Merge branch 'master' of ssh://git.pk910.de:16110/srvx

12 years agohandle kick events even if the target user is a service
pk910 [Mon, 26 Dec 2011 14:38:28 +0000 (15:38 +0100)]
handle kick events even if the target user is a service

12 years agoallow network helpers to see the devnull class of users
lukas9950 [Sun, 25 Dec 2011 22:31:16 +0000 (23:31 +0100)]
allow network helpers to see the devnull class of users

12 years agochanged Watchdog cmd_unregister: added information of unregistrar to part message
lukas9950 [Thu, 15 Dec 2011 19:37:54 +0000 (20:37 +0100)]
changed Watchdog cmd_unregister: added information of unregistrar to part message

12 years agoadded possibility to use register without channel parameter
pk910 [Thu, 15 Dec 2011 17:59:09 +0000 (18:59 +0100)]
added possibility to use register without channel parameter

12 years agoadded channel mode +S (SSLCHAN)
pk910 [Tue, 13 Dec 2011 22:43:40 +0000 (23:43 +0100)]
added channel mode +S (SSLCHAN)

12 years agofixed small memory leak (free old devnull names when setting new ones)
pk910 [Mon, 12 Dec 2011 18:07:54 +0000 (19:07 +0100)]
fixed small memory leak (free old devnull names when setting new ones)

12 years agoignore Bots on opserv_staff_alert and send alert via PRIVMSG
pk910 [Sat, 26 Nov 2011 23:51:46 +0000 (00:51 +0100)]
ignore Bots on opserv_staff_alert and send alert via PRIVMSG

12 years agodon't use empty new_channel_unauthed_join, new_channel_authed_join or new_channel_mes...
pk910 [Sat, 26 Nov 2011 14:34:20 +0000 (15:34 +0100)]
don't use empty new_channel_unauthed_join, new_channel_authed_join or new_channel_message settings

12 years agoactivated new fakehost protocol
pk910 [Thu, 24 Nov 2011 22:59:11 +0000 (23:59 +0100)]
activated new fakehost protocol

12 years agoMerge remote branch 'upstream/master'
root [Wed, 9 Nov 2011 15:27:40 +0000 (16:27 +0100)]
Merge remote branch 'upstream/master'

Conflicts:
src/chanserv.c

12 years agofixed vote commands
pk910 [Wed, 9 Nov 2011 14:53:53 +0000 (15:53 +0100)]
fixed vote commands

12 years agochanged cmd_version informations
lukas9950 [Wed, 2 Nov 2011 00:27:54 +0000 (01:27 +0100)]
changed cmd_version informations

12 years agoMerge remote branch 'upstream/master'
root [Tue, 1 Nov 2011 21:02:19 +0000 (22:02 +0100)]
Merge remote branch 'upstream/master'

12 years agoFix which userData is checked for deny-nonchannel memo sending.
Michael Poole [Mon, 31 Oct 2011 04:12:34 +0000 (00:12 -0400)]
Fix which userData is checked for deny-nonchannel memo sending.

Fixes SourceForge bug #3308832.

src/mod-memoserv.c (memoserv_can_send): Require the recipient to have
    joined a channel for their membership there to count as common
    with the sender.  (This was the original intent.)

12 years agoDo not show "[#channel (500,)]" in a !myaccess list.
Michael Poole [Mon, 31 Oct 2011 03:58:10 +0000 (23:58 -0400)]
Do not show "[#channel (500,)]" in a !myaccess list.

Fixes SourceForge bug #3072634.

src/chanserv.c (cmd_myaccess): Record where the comma was, and remove
    it if nothing was added after it.

12 years agoAllow !trim (for users) to work for helpers.
Michael Poole [Mon, 31 Oct 2011 03:56:13 +0000 (23:56 -0400)]
Allow !trim (for users) to work for helpers.

Fixes SourceForge bug #3081638.

src/chanserv.c (cmd_trim_users): Use GetChannelUser() to check user
  access, so that overrides work.

12 years agoAvoid adding expire_channels() to the timeq on !expire.
Michael Poole [Sun, 30 Oct 2011 22:22:21 +0000 (18:22 -0400)]
Avoid adding expire_channels() to the timeq on !expire.

Fixes SourceForge bug #3000577.

src/chanserv.c (expire_channels): Only (re-)add this function to timeq
    if the data argument is NULL.
  (cmd_expire): Pass a non-NULL pointer when calling expire_channels().

12 years agoRe-fix compilation of src/modcmd.c.
Michael Poole [Sun, 30 Oct 2011 17:32:11 +0000 (13:32 -0400)]
Re-fix compilation of src/modcmd.c.

(I'm not sure why it looked like this compiled before.)

src/modcmd.c (check_alias_args): strtoul has an attribute that makes
  gcc warn if its result is not used, so store (but ignore) its result.

12 years agoFix compilation warnings from gcc 4.6.
Michael Poole [Sun, 30 Oct 2011 17:23:12 +0000 (13:23 -0400)]
Fix compilation warnings from gcc 4.6.

src/chanserv.c (zoot_list): Delete this function.
  (cmd_invite): Remove never-read uData variable.
  (ban_read_helper): Remove never-read bData variable.
src/helpfile.c (vsend_message): Remove never-read expand_pos variable.
src/ioset.c (ioset_buffered_read): Remove never-read fdnum variable.
src/log.c (log_entry_search): Remove never-read last variable.
src/mod-helpserv.c (cmd_add_user): Remove never-read new_user variable.
src/modcmd.c (check_alias_args): Remove never-read tmp variable.
src/nickserv.c (cmd_reclaim): Remove never-read hi variable.
src/proto-p10.c (cmd_topic): Remove never-read chan_ts variable.
  (AddLocalUser): Remove never-read timestamp variable.

12 years agoDocument the ChanServ toy commands.
Michael Poole [Sun, 30 Oct 2011 17:19:41 +0000 (13:19 -0400)]
Document the ChanServ toy commands.

src/chanserv.help: Add documentation for !8ball, !d, !huggle, !ping,
  !unf and !wut.

12 years agoFix MIN_ARGC for ChanServ's !8ball and !d commands.
Michael Poole [Sun, 30 Oct 2011 17:19:08 +0000 (13:19 -0400)]
Fix MIN_ARGC for ChanServ's !8ball and !d commands.

src/chanserv.c (init_chanserv): These commands need at least one argument.

12 years agofixed unused variable warning
pk910 [Sun, 16 Oct 2011 00:01:40 +0000 (02:01 +0200)]
fixed unused variable warning

12 years agoallow IRC Ops unregister protected channels (nodelete override)
pk910 [Sat, 15 Oct 2011 23:58:26 +0000 (01:58 +0200)]
allow IRC Ops unregister protected channels (nodelete override)

12 years agoadded cmd_opme command to chanserv (based on new devnull privilege: OpMe)
pk910 [Wed, 12 Oct 2011 19:09:35 +0000 (21:09 +0200)]
added cmd_opme command to chanserv (based on new devnull privilege: OpMe)

12 years agoadded $U $I $H (moved previous $H to $A)
pk910 [Fri, 26 Aug 2011 09:58:14 +0000 (11:58 +0200)]
added $U $I $H (moved previous $H to $A)

12 years agoignore badwords on channels watchdog isn't in
pk910 [Thu, 25 Aug 2011 02:42:13 +0000 (04:42 +0200)]
ignore badwords on channels watchdog isn't in

12 years agofixed srvx language fail (minimum must NOT be greater than the maximum - it must...
pk910 [Tue, 23 Aug 2011 23:54:55 +0000 (01:54 +0200)]
fixed srvx language fail (minimum must NOT be greater than the maximum - it must be lower ;))

12 years agodon't hide protected channels from Network Helpers in cmd_myaccess
pk910 [Tue, 16 Aug 2011 21:14:25 +0000 (23:14 +0200)]
don't hide protected channels from Network Helpers in cmd_myaccess

12 years agochanged TOKEN of FFAKEHOST2 to NFH
pk910 [Sat, 23 Jul 2011 22:37:07 +0000 (00:37 +0200)]
changed TOKEN of FFAKEHOST2 to NFH

12 years agoactivated the new features
pk910 [Sat, 23 Jul 2011 22:29:59 +0000 (00:29 +0200)]
activated the new features

12 years agofixed a (maybe) error in the database write function (mod-watchdog.c)
pk910 [Sat, 23 Jul 2011 06:12:00 +0000 (08:12 +0200)]
fixed a (maybe) error in the database write function (mod-watchdog.c)

12 years agoKICK user only if he's really in the channel!
pk910 [Fri, 22 Jul 2011 01:38:07 +0000 (03:38 +0200)]
KICK user only if he's really in the channel!

12 years agofixed some syntax errors & tidied up code a little bit
pk910 [Fri, 22 Jul 2011 00:47:29 +0000 (02:47 +0200)]
fixed some syntax errors & tidied up code a little bit

12 years agoextended example configuration file for mod-Watchdog
pk910 [Fri, 22 Jul 2011 00:43:19 +0000 (02:43 +0200)]
extended example configuration file for mod-Watchdog

12 years agoadded real message "scanner" to mod-watchdog.c
pk910 [Fri, 22 Jul 2011 00:41:52 +0000 (02:41 +0200)]
added real message "scanner" to mod-watchdog.c

12 years agofixed NULL bug on modcmd.c cmd_stats_services
pk910 [Thu, 21 Jul 2011 23:57:30 +0000 (01:57 +0200)]
fixed NULL bug on modcmd.c cmd_stats_services

12 years agoreset triggered counter when changing mask (Watchdog BadWord)
pk910 [Thu, 21 Jul 2011 23:41:03 +0000 (01:41 +0200)]
reset triggered counter when changing mask (Watchdog BadWord)

12 years agoadded cmd_setbad
pk910 [Thu, 21 Jul 2011 23:31:41 +0000 (01:31 +0200)]
added cmd_setbad

12 years agochanged type of shitlist to dict_t and added cmd_listbad, cmd_addbad & cmd_delbad
pk910 [Thu, 21 Jul 2011 20:58:53 +0000 (22:58 +0200)]
changed type of shitlist to dict_t and added cmd_listbad, cmd_addbad & cmd_delbad

12 years agoconnect Watchdog before loading saved data (channels)
pk910 [Thu, 21 Jul 2011 19:22:01 +0000 (21:22 +0200)]
connect Watchdog before loading saved data (channels)

12 years agoadded cmd_register & cmd_unregister to mod-watchdog.c, fixed trigger & missing ;...
pk910 [Thu, 21 Jul 2011 01:25:14 +0000 (03:25 +0200)]
added cmd_register & cmd_unregister to mod-watchdog.c, fixed trigger & missing ; in example config block

12 years agofixed cmd_users counter (-1)
pk910 [Thu, 21 Jul 2011 01:23:34 +0000 (03:23 +0200)]
fixed cmd_users counter (-1)

12 years agocommented out AUTOHIDE check on LOC because of a ircu incompatibility (should be...
pk910 [Thu, 21 Jul 2011 01:03:42 +0000 (03:03 +0200)]
commented out AUTOHIDE check on LOC because of a ircu incompatibility (should be fixed, soon)

12 years agoadded total user count to cmd_users
pk910 [Thu, 21 Jul 2011 00:54:24 +0000 (02:54 +0200)]
added total user count to cmd_users

12 years agofixed watchdog config path (modules/watchdog)
pk910 [Wed, 20 Jul 2011 22:13:10 +0000 (00:13 +0200)]
fixed watchdog config path (modules/watchdog)

12 years agoadded chanlist to mod-watchdog.c
pk910 [Wed, 20 Jul 2011 21:44:54 +0000 (23:44 +0200)]
added chanlist to mod-watchdog.c

12 years agofixed mod-watchdog.c basics
pk910 [Wed, 20 Jul 2011 20:38:25 +0000 (22:38 +0200)]
fixed mod-watchdog.c basics

12 years agochanged needed access to set flag +b, added +I to ounregister FORCE list
Zer0n [Wed, 20 Jul 2011 19:56:10 +0000 (21:56 +0200)]
changed needed access to set flag +b, added +I to ounregister FORCE list

12 years agoadded mod-watchdog (without any functions, yet)
pk910 [Wed, 20 Jul 2011 20:23:00 +0000 (22:23 +0200)]
added mod-watchdog (without any functions, yet)

12 years agochanged cmd_myaccess: added ".. is owner of XX channel(s)."
Zer0n [Wed, 20 Jul 2011 18:42:12 +0000 (20:42 +0200)]
changed cmd_myaccess: added ".. is owner of XX channel(s)."

12 years agoadded flag +I (user not shown in staff list)
Lukas [Wed, 20 Jul 2011 13:38:10 +0000 (15:38 +0200)]
added flag +I (user not shown in staff list)

12 years agofixed P10_GLINE protocol violation (expiration has to be the relative time, not a...
pk910 [Tue, 19 Jul 2011 21:22:40 +0000 (23:22 +0200)]
fixed P10_GLINE protocol violation (expiration has to be the relative time, not a timestamp)

12 years agoextended MODE_FORWARD check (check if the user is allowed to use the passed target...
pk910 [Mon, 18 Jul 2011 22:15:43 +0000 (00:15 +0200)]
extended MODE_FORWARD check (check if the user is allowed to use the passed target channel)

12 years agoallow opers with security override enabled using MODE_NOFLOOD with the ! flag on...
pk910 [Sun, 17 Jul 2011 15:49:04 +0000 (17:49 +0200)]
allow opers with security override enabled using MODE_NOFLOOD with the ! flag on ChanServ modelock

12 years agostep over ! if it's allowed on MODE_NOFLOOD
pk910 [Sun, 17 Jul 2011 15:20:11 +0000 (17:20 +0200)]
step over ! if it's allowed on MODE_NOFLOOD

12 years agofully included MODE_AUDITORIUM & fixed a missing break
pk910 [Sun, 17 Jul 2011 14:47:26 +0000 (16:47 +0200)]
fully included MODE_AUDITORIUM & fixed a missing break

12 years agoremoved nickserv.c "comparison between signed and unsigned" compiler warning
pk910 [Sun, 17 Jul 2011 14:45:50 +0000 (16:45 +0200)]
removed nickserv.c "comparison between signed and unsigned" compiler warning

12 years agoremoved some debug output and fixed mode handling
pk910 [Sun, 17 Jul 2011 14:37:14 +0000 (16:37 +0200)]
removed some debug output and fixed mode handling

12 years agoinclude MASK check to LOC Authentication
pk910 [Sun, 17 Jul 2011 14:12:12 +0000 (16:12 +0200)]
include MASK check to LOC Authentication

12 years agocheck AutoHide setting on LOC Authentication
pk910 [Sun, 17 Jul 2011 04:49:22 +0000 (06:49 +0200)]
check AutoHide setting on LOC Authentication

12 years agoadded FAKEHOST2 to support the FAKEIDENT idea coming from srvx DEV
pk910 [Sun, 17 Jul 2011 02:05:29 +0000 (04:05 +0200)]
added FAKEHOST2 to support the FAKEIDENT idea coming from srvx DEV

12 years agoreverted new fakehost change method (causes ident as host on ircu :D)
pk910 [Sun, 17 Jul 2011 01:32:07 +0000 (03:32 +0200)]
reverted new fakehost change method (causes ident as host on ircu :D)

12 years agofix
pk910 [Sun, 17 Jul 2011 01:25:11 +0000 (03:25 +0200)]
fix

12 years agoshow Access on cmd_handleinfo & bypass mask check for clones
pk910 [Sun, 17 Jul 2011 01:17:18 +0000 (03:17 +0200)]
show Access on cmd_handleinfo & bypass mask check for clones

12 years agoadded helpserv public channel
pk910 [Sun, 17 Jul 2011 01:06:36 +0000 (03:06 +0200)]
added helpserv public channel

12 years agoadded CMODE_AUDITORIUM & CMODE_NOFLOOD
pk910 [Sun, 17 Jul 2011 01:04:25 +0000 (03:04 +0200)]
added CMODE_AUDITORIUM & CMODE_NOFLOOD

12 years agoadded unknown command handler (just reply that the command is unknown ^^)
pk910 [Fri, 8 Jul 2011 16:08:59 +0000 (18:08 +0200)]
added unknown command handler (just reply that the command is unknown ^^)

12 years agomake bots being able to see channels of other bots and services
pk910 [Fri, 8 Jul 2011 16:08:28 +0000 (18:08 +0200)]
make bots being able to see channels of other bots and services

12 years agosvsjoin, svsmode, svsnick, relay and simul added
pk910 [Fri, 8 Jul 2011 15:58:58 +0000 (17:58 +0200)]
svsjoin, svsmode, svsnick, relay and simul added

12 years agoadded mode +a access check
pk910 [Fri, 8 Jul 2011 15:42:10 +0000 (17:42 +0200)]
added mode +a access check

12 years agochannel created messages added
pk910 [Fri, 8 Jul 2011 15:26:36 +0000 (17:26 +0200)]
channel created messages added