mirror of
https://github.com/anope/anope.git
synced 2026-06-29 16:56:37 +02:00
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
This commit is contained in:
+1
-1
@@ -259,7 +259,7 @@ bool cidr::match(const sockaddrs &other)
|
||||
if (byte)
|
||||
{
|
||||
uint8_t m = ~0 << (8 - byte);
|
||||
return *ip & m == *their_ip & m;
|
||||
return (*ip & m) == (*their_ip & m);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user