diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_object.cpp')
| -rw-r--r-- | src/kvirc/kvs/kvi_kvs_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp index 1eda917..9b98621 100644 --- a/src/kvirc/kvs/kvi_kvs_object.cpp +++ b/src/kvirc/kvs/kvi_kvs_object.cpp @@ -390,7 +390,7 @@ so it inherits the "object" class functions and events and the sayhello function from "helloworld". In addition a setlanguage function is defined that stores in a variable the language name passed as a parameter (after checking its validity). ($0 evaluates to the first parameter passed) - If the language is unknown the setlanguage function will return 0 (false). + If the language is unknown the setlanguage function will return false. Now we want to be able to say "hello world" in italian and english. So we [b]override[/b] the inherited sayhello function. "To override" means "to reimplement" : if you call %object->$sayhello() and %object |
