mirror of
https://github.com/anope/anope.git
synced 2026-06-29 03:46:37 +02:00
Mark users as unrecognized on Inspircd 1.2 if no/invalid metadata is recieved for them before the next uid/eob
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2731 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1673,6 +1673,8 @@ int anope_event_uid(char *source, int ac, char **av)
|
||||
if (user) {
|
||||
if (debug)
|
||||
alog("debug: User %s had +r but received no account info.", user->nick);
|
||||
if (user->na)
|
||||
user->na->status &= ~NS_RECOGNIZED;
|
||||
validate_user(user);
|
||||
common_svsmode(user, "-r", NULL);
|
||||
}
|
||||
@@ -1756,6 +1758,7 @@ int anope_event_metadata(char *source, int ac, char **av)
|
||||
* Invalidate the recognition. */
|
||||
if (debug)
|
||||
alog("debug: User %s had +r but did not receive matching account info.", u->nick);
|
||||
u->na->status &= ~NS_RECOGNIZED;
|
||||
common_svsmode(u, "-r", NULL);
|
||||
validate_user(u);
|
||||
}
|
||||
@@ -1779,6 +1782,8 @@ int anope_event_eob(char *source, int ac, char **av)
|
||||
|
||||
/* The burst is complete.. check if there was a user that got recognized and still needs to be invalidated.*/
|
||||
if (u) {
|
||||
if (u->na)
|
||||
u->na->status &= ~NS_RECOGNIZED;
|
||||
common_svsmode(u, "-r", NULL);
|
||||
validate_user(u);
|
||||
}
|
||||
|
||||
+2
-1
@@ -9,9 +9,10 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="2"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2730"
|
||||
VERSION_BUILD="2731"
|
||||
|
||||
# $Log$ # Changes since 1.8.2 Release
|
||||
#Revision 2731 - Mark users as unrecognized on Inspircd 1.2 if no/invalid metadata is recieved for them before the next uid/eob
|
||||
#Revision 2730 - Fixed typo in inspircd12.h causing 2 modes to use the same bit.
|
||||
#Revision 2727 - Fixed a few SASET help replies to reply to services opers, and fixed the rest to not reply to anyone who requests help
|
||||
#Revision 2726 - Fixed help system to use notice_help instead of notice_lang (bug from r2473)
|
||||
|
||||
Reference in New Issue
Block a user