diff options
| author | jantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-26 12:52:08 +0000 |
|---|---|---|
| committer | jantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-26 12:52:08 +0000 |
| commit | 8011cd4f0b81ab5562de0361477ccc1c8d285db8 (patch) | |
| tree | 91735ee161e02ccdbe04898f3dc66298bc70916d /src | |
| parent | d8bd3afd763c0813544ea6c8bbaa589dc0e44034 (diff) | |
Added missing part of #1107 patch. The last user to be introduced is now also validated.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2514 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocol/inspircd12.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index 8000f16a3..8fa31d55e 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -1413,12 +1413,20 @@ int anope_event_capab(const char *source, int ac, const char **av) int anope_event_endburst(const char *source, int ac, const char **av) { + User *u = prev_u_intro; Server *s = findserver_uid(servlist, source); if (!s) { throw new CoreException("Got ENDBURST without a source"); } + /* Don't forget to mark the last user that was introduced as unregged, if applicable. ~ Viper */ + prev_u_intro = NULL; + if (u && u->server->sync == SSYNC_IN_PROGRESS && !u->nc) { + common_svsmode(u, "-r", NULL); + validate_user(u); + } + alog("Processed ENDBURST for %s", s->name); finish_sync(s, 1); |
