From de4009fb4de679b2efe89e2736436060eb4a8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 13 May 2015 06:57:06 +0200
Subject: Aborting units -> stopping units
---
plugins/irc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'plugins/irc.c')
diff --git a/plugins/irc.c b/plugins/irc.c
index 03cd0df..156d4b5 100644
--- a/plugins/irc.c
+++ b/plugins/irc.c
@@ -107,7 +107,7 @@ on_irc_message (const struct irc_message *msg, const char *raw, void *user_data)
g_data.api->unit_add_info (scan->u, info);
free (info);
- g_data.api->unit_abort (scan->u);
+ g_data.api->unit_stop (scan->u);
}
}
}
@@ -130,7 +130,7 @@ static struct service g_irc_service =
.on_data = on_data,
.on_eof = NULL,
.on_error = NULL,
- .on_aborted = NULL
+ .on_stopped = NULL
};
static bool
--
cgit v1.2.3