brain
fd2eb26472
Move IsNick, IsIdent into class InspIRCd, update modules that use it.
...
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 18:04:19 +00:00
brain
dafc021be4
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 15:44:03 +00:00
brain
e2b1ad588d
Move more stuff into userrec
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 19:56:08 +00:00
brain
6d4128715d
Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do this itself
...
Move:
bool ChangeDisplayedHost(const char* host);
bool ChangeName(const char* gecos);
int CountChannels();
Into userrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 10:37:42 +00:00
brain
0f61489ddb
Move Blocking/NonBlocking to socket.cpp and make inline
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4806 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 10:12:34 +00:00
brain
e964e2286d
common_channels -> userrec::SharesChannelWith()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 10:04:58 +00:00
brain
1d6b72a5ba
(1) remove CleanAndResolve.
...
(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p
(3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02 11:50:01 +00:00
brain
0caead69fb
Tidyup message.cpp, remove some really old craq.
...
Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 12:15:26 +00:00
brain
983f18f834
Tried to implement sprintf that returns std::string of any size, realized it would scale like unreal scales to ircnet (e.g. it wouldnt!) so took it back out.
...
Moved chop() functionality into userrec::AddWriteBuf and make it nicer (no strlen)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4433 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-18 21:43:37 +00:00
brain
fc9e00f492
Add userrec::HasMode, fix some typos.
...
TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly*
Next - get umode +o working!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08 18:03:30 +00:00
brain
da2ad810d2
Support for hostnames in <bind> tag (so long as the hostname resolves to a locally bindable ip)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10 11:50:03 +00:00
brain
798a7139ab
Fixed externs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 23:21:59 +00:00
brain
689c27adfd
cmode now returns const char* as it returns a pointer to a literal string and shouldnt be messed with
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-08 21:16:05 +00:00
brain
20dbeb8cef
Tweak to allow @%+ to all exist on a user at once during burst
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3170 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-12 16:25:49 +00:00
brain
1383dba43e
Updated copyrights in headers etc using perl inplace edit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
106d2fc725
Modified chlist() and whois to allow output of multi line channel membership list (!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2373 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13 17:18:27 +00:00
brain
ab01aaeeee
Changed to use __single_client_alloc, faster on most systems in a single thread
...
Specified namespace std in *all* files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15 22:58:24 +00:00
brain
f938b078f8
Fixes to:
...
+s and +p channels wouldn't be synched correctly
+s and +p never show in whois even when you're a member of them
+s and +p never show in list even if you're a member of them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1308 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-05 12:42:20 +00:00
brain
740b09e2ae
Updated header comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16 14:58:40 +00:00
brain
7a51b2bed1
Moving yet more stuff into message.cpp
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@665 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-19 01:02:57 +00:00
brain
c307b95dc2
Started seperating out functions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@661 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-19 00:46:11 +00:00