Skip to content

Commit

Permalink
- Removed some irrelevant comments
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5726 82007160-df01-0410-b94d-b575c5fd34c7
  • Loading branch information
michael committed Mar 24, 2015
1 parent a12a9d6 commit db6ebe8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/config.c
Expand Up @@ -97,7 +97,7 @@ config_setup(void)
OptionsItem->scanlog = NULL;
}

/* Rehash or load new configuration from filename, via flex/bison parser */
/* Load configuration from filename, via flex/bison parser */
void
config_load(const char *filename)
{
Expand Down
4 changes: 0 additions & 4 deletions src/irc.c
Expand Up @@ -888,10 +888,6 @@ m_notice(char *parv[], unsigned int parc, const char *msg, const struct UserInfo
log_printf("IRC REGEX -> Parsed %s!%s@%s [%s] from connection notice.",
user[0], user[1], user[2], user[3]);

/*FIXME (reminder) In the case of any rehash to the regex, preg MUST be freed first.
regfree(preg);
*/

LIST_FOREACH(node, IRCItem->notices->head)
irc_send("NOTICE %s :%s", user[0], node->data);

Expand Down
2 changes: 1 addition & 1 deletion src/opercmd.c
Expand Up @@ -212,7 +212,7 @@ command_create(const struct OperCommandHash *tab, char *param, char *irc_nick,

ret->tab = tab;
ret->irc_nick = xstrdup(irc_nick);
ret->target = target; /* FIXME: This needs fixed if rehash is implemented */
ret->target = target;

time(&ret->added);

Expand Down
4 changes: 1 addition & 3 deletions src/scan.c
Expand Up @@ -179,8 +179,6 @@ scan_init(void)
struct ProtocolConf *pc;
struct scanner_struct *scs;

/* FIXME: If rehash code is ever added, cleanup would need done here. */

SCANNERS = list_create();
MASKS = list_create();

Expand Down Expand Up @@ -892,7 +890,7 @@ scan_manual(char *param, const struct ChannelConf *target)
return;
}

/* IP = the resolved IP now (it was the ip OR hostname before) */
/* IP = the resolved IP now (it was the IP or hostname before) */
if ((ip = inet_ntop(AF_INET, addr, buf, sizeof(buf))) == NULL)
{
irc_send("PRIVMSG %s :CHECK -> invalid address: %s",
Expand Down

0 comments on commit db6ebe8

Please sign in to comment.