From 37394a80c2b4a3948e4f0e850710c9518d9ba259 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 12 Aug 2013 20:10:06 +0200 Subject: Clean up a few constructors Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead --- include/channels.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index fbb38d5da..0c7a3a20c 100644 --- a/include/channels.h +++ b/include/channels.h @@ -63,7 +63,9 @@ class CoreExport Channel : public Extensible, public InviteBase public: /** Creates a channel record and initialises it with default values - * @throw Nothing at present. + * @param name The name of the channel + * @param ts The creation time of the channel + * @throw CoreException if this channel name is in use */ Channel(const std::string &name, time_t ts); -- cgit v1.2.3