Skip to content

Commit

Permalink
Update i2tcl to match latest language changes
Browse files Browse the repository at this point in the history
refs #12338
  • Loading branch information
gunnarbeutner committed Aug 10, 2016
1 parent 72faf42 commit 9c6e2cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/i2eval/i2tcl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static Value i2_call_tcl(const String& command, const String& mtype, const std::
delete [] objv;

if (code == TCL_ERROR)
BOOST_THROW_EXCEPTION(std::runtime_error("An error occured in the TCL script"));
BOOST_THROW_EXCEPTION(std::runtime_error("An error occurred in the TCL script"));

Value vresult;

Expand Down
3 changes: 1 addition & 2 deletions contrib/i2eval/i2tcl.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ i2_register_command chanhost getchanhost string
i2_register_command chanbans chanbans list
i2_register_command getnick i2_getnick string
i2_register_command getchan i2_getchan string
i2_register_command __commit i2_null null
i2_register_command commit_objects i2_null null
i2_register_command "Internal.run_with_activation_context" i2_null null
i2_register_command exit i2_null null

proc i2_null {} {
Expand Down

0 comments on commit 9c6e2cd

Please sign in to comment.