Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Ovrum committed Dec 6, 2013
1 parent 3fe0534 commit 83d3d0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/diggler/bot.d
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module diggler.bot;

import core.thread : Fiber;

import std.algorithm;
import std.array;
import std.exception : enforce;
Expand Down
5 changes: 4 additions & 1 deletion src/diggler/command.d
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ abstract class CommandSet(T) : ICommandSet
string[] _commandNames; // TODO: Not a static, immutable property because of template bugs (2.063)
Context _context;

void registerCommands(T cmdSet)
final void registerCommands(T cmdSet)
{
foreach(memberName; __traits(derivedMembers, T))
{
Expand All @@ -442,6 +442,9 @@ abstract class CommandSet(T) : ICommandSet
registerCommands(cmdSet);
}

// See CommandContext
//alias context this;

override: // Implement ICommandSet
ref Context context()
{
Expand Down

0 comments on commit 83d3d0c

Please sign in to comment.