diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-21 16:10:05 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-21 16:10:05 +0000 |
| commit | a53f209c7ff5935426b7fc50815a32efaba5a530 (patch) | |
| tree | 9c81b2d1d022b237b82436aa599efb59bc451a8b /src/chanserv.c | |
| parent | 28dd48200686b58b2f01f2094dba3093297c5935 (diff) | |
BUILD : 1.7.8 (635) BUGS : NOTES : Topics should be only updated when really needed during bursts now (on IRCDs that support it)
git-svn-id: svn://svn.anope.org/anope/trunk@635 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@483 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/chanserv.c')
| -rw-r--r-- | src/chanserv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 26c3a0afe..d479888a8 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1764,6 +1764,8 @@ void restore_topic(char *chan) if (!c || !(ci = c->ci)) return; + /* We can be sure that the topic will be in sync when we return -GD */ + c->topic_sync = 1; if (!(ci->flags & CI_KEEPTOPIC)) { /* We need to reset the topic here, since it's currently empty and * should be updated with a TOPIC from the IRCd soon. -GD @@ -1771,7 +1773,6 @@ void restore_topic(char *chan) ci->last_topic = NULL; strscpy(ci->last_topic_setter, whosends(ci), NICKMAX); ci->last_topic_time = time(NULL); - /* And we still return... -GD */ return; } if (c->topic) |
