summaryrefslogtreecommitdiff
path: root/src/channels.c
AgeCommit message (Collapse)Author
2009-02-07Forward-port r1946: Patch by Adam fixing #1006 (originally caused by #922): ↵rburchell
modes set by ChanServ are reversed. Thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1947 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23Correctly handle parameterised modes in FJOIN, fixes bug #987.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1930 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Removing one free too much..jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1882 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Fix uninitialised variable usage leading to stray freeing of memory.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27Forgot one in last commit.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1868 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-27Fixed crashbug in the banlist processing.jantje_85
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1867 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Some more Windows fixes, both in CMake and in the code itself. (I don't like ↵cyberbotx
the const casting for the latter, but it's only until we get rid of use of strchr) Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows. Some other minor CMake fixes. Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows. Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-20Forward port: fix incorrect debug message, r1855.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1856 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Used std::vector for MemoInfo's memos variable instead of an malloc'd array.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Properly initialized new objects when needed so they don't contain garbage data.cyberbotx
Also, converted line endings in os_ignore_db from CR+LF to LF. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05Merge branch 'anopeng' into anopeng-configNaram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1420 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Make channels.c work.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1370 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() ↵Naram Qashat cyberbotx@cyberbotx.com
in IRCDProto class. Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendKick() with direct call to SendKick() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
Also added SendKickInternal() function to IRCDProto class, now SendKick() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1331 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Merge commit 'cbx/anopeng-uid' into anopeng-uidRobin Burchell w00t@inspircd.org
Conflicts: include/extern.h include/services.h src/protocol/bahamut.c src/protocol/inspircd11.c git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1320 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Convert various to new name scheme.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02KICK, notice ops.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1303 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Guest nicks, MODE.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1301 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Made all protocol modules able to be compiled via mostly constifying strings.Robin Burchell w00t@inspircd.org
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various constification/fixes for g++.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1183 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30More g++ fixes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1172 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-14BUILD : 1.7.22 (1440) BUGS : NOTES : Anope 1.7.22 release geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1440 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1155 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-09BUILD : 1.7.21 (1431) BUGS : NOTES : Fixes possible mismatches in ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
entry_match() introduced in previous commit. git-svn-id: svn://svn.anope.org/anope/trunk@1431 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1146 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-08BUILD : 1.7.21 (1430) BUGS : NOTES : Fixes a possible segfault in entry_match. viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1430 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1145 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
ban/invite/except lists. Introduces new CIDR capable generic lists system. git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-31BUILD : 1.7.21 (1422) BUGS : 927 NOTES : Fixes compiling on windows. We ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
should define new variables above the code not in between. git-svn-id: svn://svn.anope.org/anope/trunk@1422 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1137 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-24BUILD : 1.7.21 (1418) BUGS : 927 NOTES : Applied a patch by w00t to store ↵mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
the timestamp supplied by insp in FJOIN on channel creation git-svn-id: svn://svn.anope.org/anope/trunk@1418 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1133 5417fbe8-f217-4b02-8779-1006273d7864
2008-04-29BUILD : 1.7.21 (1392) BUGS : NOTES : <Hal9000> fixes a potential crash in ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
channels.c and does handle the TS on incoming FMODE in inspircd.11 git-svn-id: svn://svn.anope.org/anope/trunk@1392 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1107 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07BUILD : 1.7.21 (1377) BUGS : 857 NOTES : Fixed the findchan() debug messages ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
so you now have ubercool debug stuff when you enter debug level 3\! git-svn-id: svn://svn.anope.org/anope/trunk@1377 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1092 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07BUILD : 1.7.21 (1376) BUGS : 859 NOTES : Fixed a small oddity in do_cmode() geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1376 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1091 5417fbe8-f217-4b02-8779-1006273d7864
2008-02-07BUILD : 1.7.21 (1375) BUGS : 858 NOTES : do_sjoin() called finduser(NULL) geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1375 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1090 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26BUILD : 1.7.21 (1356) BUGS : 835 NOTES : Fixed channel walking for ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
do_mass_mode() and restore_unsynced_topics() to use firstchan/nextchan git-svn-id: svn://svn.anope.org/anope/trunk@1356 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1071 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-28BUILD : 1.7.19 (1322) BUGS : 685 NOTES : Applied a patch by Jilles which ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
should fix SJOIN not always sending the correct TS git-svn-id: svn://svn.anope.org/anope/trunk@1322 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1040 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-08BUILD : 1.7.19 (1303) BUGS : 703 NOTES : Fixed user being able to change ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
channel modes on empty channels without permission (eg SECUREOPS) git-svn-id: svn://svn.anope.org/anope/trunk@1303 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1021 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-05BUILD : 1.7.19 (1258) BUGS : 750 NOTES : Fixed CA_AUTODEOP not working ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
anymore (since 1.7.9 or so probably) git-svn-id: svn://svn.anope.org/anope/trunk@1258 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@976 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21BUILD : 1.7.18 (1241) BUGS : 707 NOTES : Applied a patch by jilles to fix ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
various charybdis and ts6 related issues git-svn-id: svn://svn.anope.org/anope/trunk@1241 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@960 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-30BUILD : 1.7.17 (1213) BUGS : 651 653 NOTES : Fixed channel joins being ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
logged twice in debug mode on some IRCds and BotServ incorrectly attempting to remove bans with BSSmartJoin git-svn-id: svn://svn.anope.org/anope/trunk@1213 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@932 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-04BUILD : 1.7.14 (1108) BUGS : 569 NOTES : Fixed giving modes for unregistered ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
users :) git-svn-id: svn://svn.anope.org/anope/trunk@1108 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@832 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-20BUILD : 1.7.14 (1094) BUGS : 530 NOTES : Applied marks botserv bold striping ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
patch git-svn-id: svn://svn.anope.org/anope/trunk@1094 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@818 5417fbe8-f217-4b02-8779-1006273d7864